Add comment how to restore the backup file

This commit is contained in:
Lorenz Padberg 2024-02-05 09:58:46 +01:00
parent a765d7874f
commit 1d5cf2cf05
1 changed files with 4 additions and 0 deletions

View File

@ -6,3 +6,7 @@ python manage.py migrate_objectives_to_content
pg_dump -Fc --no-acl -h localhost -U skillbox skillbox > latest-migrated-objectives.dump
#python manage.py migrate_objective_snapshots
#pg_dump -Fc --no-acl -h localhost -U skillbox skillbox > latest-migrated-objectives-and-snapshots.dump
# Use this command to restore the database from the dump:
#pg_restore --verbose --clean --no-acl --no-owner -h localhost -U skillbox -d skillbox latest-migrated-objectives.dump