@@ -109,6 +109,16 @@ POSTGRES_PASSWORD='use-secret-storage' \
|
||||
./scripts/restore-postgres.sh
|
||||
```
|
||||
|
||||
Verify a dump before scheduling a restore:
|
||||
|
||||
```sh
|
||||
BACKUP_FILE=/secure/backups/inventory-20260909T000000Z.dump \
|
||||
./scripts/verify-postgres-backup.sh
|
||||
```
|
||||
|
||||
This checks that the file is a readable PostgreSQL custom-format archive without
|
||||
changing any database.
|
||||
|
||||
Back up image storage and the deployment `.env` through the NAS secret/backup
|
||||
system as well. Never commit either one. Before upgrading, record the current
|
||||
image tags and database migration state. To roll back, stop the application
|
||||
|
||||
Reference in New Issue
Block a user