backup issue after migration
I migrated my postgres database to V2, I was using this template for backup:
https://github.com/railwayapp-templates/postgres-s3-backups
when I checked the logs I found that the backup is failing with this error:
GitHub
GitHub - railwayapp-templates/postgres-s3-backups: A simple Node ap...
A simple Node app to automatically backup PostgreSQL databases to an S3 bucket - GitHub - railwayapp-templates/postgres-s3-backups: A simple Node app to automatically backup PostgreSQL databases to...
10 Replies
Project ID:
f24f66a8-3ea7-4ec9-b82a-5904487dee94
f24f66a8-3ea7-4ec9-b82a-5904487dee94
that's actually just a warning, but it's treated as an error because the code treats all text printed to stderr as an error. I've been thinking about this for the past few days, and I can't come up with a solution that I'm happy with.
pg_dump doesn't really give you a good indication that the print to stderr is a warning or a critical error
The problem is that the backup is not working anymore after I migrated to the new V2 database, not sure what's happening because it was working fine before migration.
The same error appeared again today at the time of cron job (backup schedule):
Is there any solution for it? Maybe I should deploy a new backup template instead of the one I use right now?
yes im aware, and i already have a fix sitting in a local branch, im just not 100% happy with it so i haven't pr'd it.
id look into using another template for backups for now
Hi there, I'm having the same problem. Is there any fix for this?
look into using another template for backups for now
Thanks for your reply, do you know any other templates?
search the marketplace for one that suites your needs https://railway.app/templates
ok, thanks