Closed ckcollab closed 4 years ago
I added the commands...
./manage.py list_backups <search>
./manage.py download_backup <dump name from above search>
./bin/pg_restore.sh <dump name from download>
Also made everything private by default .. but all current File/ImageFields
should be public anyway. Protects us in the future if someone makes an oversight, something we want to be private won't be public by accident (hopefully!)
EDIT: Merged in conflicts, looks like PublicStorage
was already added with explicit S3 stuff, I think the way I did it should work OK locally? can you confirm @brendon-lind ?
@ mention of reviewers
@gibsonbailey
Resolves #139
A checklist for hand testing
./bin/pg_dump.sh
works local, saves file to minio private storage/backups
dir./manage.py list_backups <search>
./manage.py download_backup <dump name from above search>
./bin/pg_restore.sh <dump name from download>
Checklist