9 months ago
Hi,
I need to download one of my backed up DB from a few days ago, how can I do this? It only gives me the option to restore or lock but not to dowload
Pinned Solution
9 months ago
I usually use DUFS (https://github.com/sigoden/dufs) to download / inspect volumes from backups. It is easy to setup. You have to create a DUFS container and then to mount the "restored" backup-volume to the container.
Apart from DUFS, there's also a File Browser template that you might find useful (https://railway.com/template/Nan7Bs)
5 Replies
9 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 • 9 months ago
9 months ago
Just to verify, are you fine with downloading the live database or wish to only download the backup? What are you trying to do with your backed up DB?
9 months ago
Connect from external app and download current data. Restore old one and download it. Then restore on external app latest local backup.
9 months ago
I usually use DUFS (https://github.com/sigoden/dufs) to download / inspect volumes from backups. It is easy to setup. You have to create a DUFS container and then to mount the "restored" backup-volume to the container.
Apart from DUFS, there's also a File Browser template that you might find useful (https://railway.com/template/Nan7Bs)
9 months ago
Thank you for the suggestions. What I want to do was download a backed up DB from a day ago so I could restore some records that were deleted by mistake on the current DB, its really important to have an option to download the backedup DB as a gziped file - I think RW needs to consider this options as it will save tons of time and we would not need to take a dump and push to external services like AWS S3
9 months ago
You can download the whole DB directory via DUFS (or with other file browsers) as gzip file and restore it locally.
Status changed to Solved chandrika • 8 months ago
