Skip to content

acmutsa/portal-backup-cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌀 Portal DB Backup To R2

A one-shot backup that for the Portal database.

  • Uses pg_dump to create a compressed backup of the database, usable with pg_restore.
  • Cron-job reporting & monitoring provided by Sentry.io.
  • Connects to an S3-compatible storage API (e.g. Cloudflare R2) to store the backup file.
  • Cron-job is scheduled by Railway, not the application.

Note that the API keys are currently set to expire July 20th, 2028. They will need to regenerated at that point in time.