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
Percy15mo ago
Project ID: N/A
Brody
Brody15mo ago
is this file stored in a volume?
Akmal Dira
Akmal Dira15mo ago
no i forget create volume
Solution
Brody
Brody15mo ago
then the backup function must be a feature of your app, there is no ssh/sftp access to the container
Akmal Dira
Akmal Dira15mo ago
but the project has goes production
Brody
Brody15mo ago
^
Akmal Dira
Akmal Dira15mo 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
Brody15mo ago
not for this scenario, you should have stored the public folder in a volume
Akmal Dira
Akmal Dira15mo ago
this is my mistake i dont make volume for public folder
Brody
Brody15mo 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 Dira15mo ago
oke thanks sir
Brody
Brody15mo ago
no problem!
Want results from more Discord servers?
Add your server