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