Jyckle / sncrs

SmashNight Competitive Ranking System
GNU General Public License v3.0
1 stars 0 forks source link

Fix backups #23

Closed Jyckle closed 1 year ago

Jyckle commented 1 year ago

This should close #22 and fix the backups. This now includes the media files (images uploaded by the user), and utilizes pg_dumpall to get all of the data out of postgres, rather than just our specific database. This means we can now get an identical state for the whole database.

Due to that process being slightly more involved with the new format, I scripted it. @coltatgh if you are up for testing, I'm gonna send you a link to a full backup, have you checkout this branch and then run

./qs run dev
./qs backup restore dev <path_to_the_downloaded_file>

After that is done, your local dev instance should be identical to the production sncrs!