Skip to content

Commit b1d5710

Browse files
brianmayCopilot
andauthored
Update website/docs/maintenance/backup_restore.md
Co-authored-by: Copilot <[email protected]>
1 parent d10aacb commit b1d5710

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/docs/maintenance/backup_restore.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ CREATE EXTENSION earthdistance WITH SCHEMA public;
5050

5151
# Restore
5252
Use the same filename that was used in the backup step.
53+
Replace `<backup_filename>` with the actual filename generated during the backup step (e.g., `teslamate_database_2025-05-07_07-33-48.sql`).
5354

54-
docker compose exec -T database psql -U teslamate -d teslamate < teslamate_database_2025-05-07_07-33-48.sql
55+
docker compose exec -T database psql -U teslamate -d teslamate < <backup_filename>
5556

5657
# Restart the teslamate container
5758
docker compose start teslamate

0 commit comments

Comments
 (0)