Skip to content

Commit

Permalink
Updated database restore command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanur Sharma committed Dec 10, 2024
1 parent c889c15 commit 7cd8c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ To restore your database from a backup:

```bash
# Restore from a backup (handles both .sql and .sql.gz files)
docker-compose -f local.yml run --rm django python manage.py database_restore path/to/backup.sql[.gz]
docker-compose -f local.yml run -v local/path/to/directory:/backups --rm django python manage.py database_restore /backups/backup_file_name.sql[.gz]
```

The restore command will:
Expand Down

0 comments on commit 7cd8c4d

Please sign in to comment.