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:
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...
Jump to solution
12 Replies
Percy
Percy6mo ago
Project ID: de828528-0853-45d9-8491-9197e8b429f1
Great_Alfa777
Great_Alfa7776mo ago
de828528-0853-45d9-8491-9197e8b429f1
Mirand
Mirand6mo ago
could you please share how you are doing backup for the database? are you using cron jobs? im very intersted to know
Solution
Brody
Brody6mo ago
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
Great_Alfa777
Great_Alfa7776mo ago
@Mirand Hi man...I'm using cron jobs
Brody
Brody6mo ago
the template you are using is not compatible with railways cron jobs
Great_Alfa777
Great_Alfa7776mo ago
@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!
Brody
Brody6mo ago
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
Great_Alfa777
Great_Alfa7776mo ago
Are you referring to the cron from the environment variable mentioned in the documentation?
Brody
Brody6mo ago
no i am not
Great_Alfa777
Great_Alfa7776mo ago
I understand. In that case, that's the only 'cron job' I was referring to that I am using.
Brody
Brody6mo ago
okay sounds good
Want results from more Discord servers?
Add your server
More Posts