Error railway database backup
Hello everyone, I have completed all the necessary configurations to perform the daily backup of my PostgreSQL database. However, during the execution of this process, an error occurred, and I am unsure of both the cause and how to resolve it. I would greatly appreciate your assistance in addressing this issue.
Solution:Jump to solution
known issue, I've already created a PR to fix that here https://github.com/railwayapp-templates/postgres-s3-backups/pull/13
until this gets merged you could fork my branch thats used in the PR and deploy that to your backup service...
12 Replies
Project ID:
de828528-0853-45d9-8491-9197e8b429f1
de828528-0853-45d9-8491-9197e8b429f1
could you please share how you are doing backup for the database? are you using cron jobs? im very intersted to know
Solution
known issue, I've already created a PR to fix that here https://github.com/railwayapp-templates/postgres-s3-backups/pull/13
until this gets merged you could fork my branch thats used in the PR and deploy that to your backup service
@Mirand Hi man...I'm using cron jobs
the template you are using is not compatible with railways cron jobs
@Brody With the guidance you provided, I was able to fork your pull request branch, and this time, the backup of my database worked successfully. Many thanks!
no problem, but make sure you are not using railways cron, the backup service does not exit therefore railway will not rerun the service at the next interval
Are you referring to the cron from the environment variable mentioned in the documentation?
no i am not
I understand. In that case, that's the only 'cron job' I was referring to that I am using.
okay sounds good