How do I create a downloadable backup for a recent deployment
cstpdev
HOBBYOP

8 months ago

I need to create a zip folder backup for the most recent file since I cannot retrieve it

$10 Bounty

3 Replies

chandrika
EMPLOYEE

8 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open chandrika 8 months ago


ju-li
PRO

8 months ago

You can ssh into your railway deployment and zip up whatever you need. Instructions: https://blog.railway.com/p/ssh

And then to get the files out of the deployment, maybe try these strategies:

1. SCP to another machine: scp /path/to/file username@hostname:/path/to/destination
2. Curl to an API: curl -X POST -F "file=@filename" http://example.com/upload
3. Curl to a FTP server: curl -T filename ftp://username:password@ftp.example.com/


sim
FREE

8 months ago

What is the deployment? If it is a database like postgres using pgdump - just look up the equivalent tool for whatever database you have


sim
FREE

8 months ago

If it is not a database, it is just the code? This you have in Github or wherever your code is sourced


Loading...