Skip to content

Commit 7cd8c4d

Browse files
committed
Updated database restore command
1 parent c889c15 commit 7cd8c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ To restore your database from a backup:
101101

102102
```bash
103103
# Restore from a backup (handles both .sql and .sql.gz files)
104-
docker-compose -f local.yml run --rm django python manage.py database_restore path/to/backup.sql[.gz]
104+
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]
105105
```
106106

107107
The restore command will:

0 commit comments

Comments
 (0)