can we jump into root folder when service is running?

i want to backup public file on my root project
Solution:
then the backup function must be a feature of your app, there is no ssh/sftp access to the container
Jump to solution
12 Replies
Percy
Percy16mo ago
Project ID: N/A
Brody
Brody16mo ago
is this file stored in a volume?
Akmal Dira
Akmal DiraOP16mo ago
no i forget create volume
Solution
Brody
Brody16mo ago
then the backup function must be a feature of your app, there is no ssh/sftp access to the container
Akmal Dira
Akmal DiraOP16mo ago
but the project has goes production
Brody
Brody16mo ago
^
Akmal Dira
Akmal DiraOP16mo ago
my project based on github, if i create new feature on my app, public folder will be empty bcs it's redeploy based on github any solution?
Brody
Brody16mo ago
not for this scenario, you should have stored the public folder in a volume
Akmal Dira
Akmal DiraOP16mo ago
this is my mistake i dont make volume for public folder
Brody
Brody16mo ago
do that in your next update you will lose the files this time, but once you start saving files into the volume, you wont lose them on every deployment again
there is no ssh/sftp access to the container
Akmal Dira
Akmal DiraOP16mo ago
oke thanks sir
Brody
Brody16mo ago
no problem!
Want results from more Discord servers?
Add your server