You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c28d256
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/src/content/docs/using-deployrr/backups.md
+25-3Lines changed: 25 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ videos:
25
25
start: 4808
26
26
title: "Deployrr 5 walkthrough: Restore Backups"
27
27
note: "Shows Deployrr v5. Menus and steps differ in v6."
28
-
last_reviewed: 2026-11-12
28
+
last_reviewed: 2026-11-13
29
29
status: current
30
30
old_paths: []
31
31
sources: []
@@ -160,14 +160,14 @@ You see the file name followed by "deleted successfully."
160
160
sudo docker logs APP --tail 50
161
161
```
162
162
163
-
See [A container keeps restarting, is unhealthy or has exited](/docker/container-keeps-restarting/).
163
+
With the [Deployrr aliases](/using-deployrr/bash-aliases/), `dlogs APP` shows the same lines with timestamps and keeps following the log. Press `Ctrl+C` to stop. See [A container keeps restarting, is unhealthy or has exited](/docker/container-keeps-restarting/).
164
164
3. Scroll back through the restore output and look for error lines. Deployrr deletes the old Docker folder before it unpacks the backup, so an error there can leave the folder incomplete. Run **Restore** again with the same backup, and this time press `n` at the question about a current backup. The backup of your state before the first restore (step 8 of [Restore a backup](#restore-a-backup)) is in the default backups folder, even if you restored from a custom folder.
165
165
166
166
## Back up one app's database
167
167
168
168
**Backup** stops every app, so the databases in it are safe to restore. If you copy an app's database folder by hand while it runs, the copy can be broken. Use one of these ways instead. The container names, users and database names are in [Change a database password safely](/apps/change-database-password/#find-your-app). `YOUR_DOCKER_FOLDER` is your Docker folder and `USERNAME` is your Linux user.
169
169
170
-
Supabase (`supabase-db`) and TeslaMate (`teslamate-pgsql`) use other names and have several containers on their database. Use **Backup** for those.
170
+
Supabase (`supabase-db`) and TeslaMate (`teslamate-pgsql`) use other names and have several containers on their database. Use **Backup** for those. For the standalone MariaDB or PostgreSQL app, the container is just `mariadb` or `postgresql`.
171
171
172
172
**Stop the database, then copy its folder.** This works for every app with an `APP-postgresql` or `APP-mariadb` container:
With the [Deployrr aliases](/using-deployrr/bash-aliases/), `dcstop APP-postgresql APP` and `dcstart APP-postgresql APP` stop and start the same containers. Always give the names: `dcstop` on its own stops every app.
183
+
182
184
Use `APP-mariadb` for a MariaDB app. If the app has more containers that use the database, such as `authentik-worker` or `langfuse-worker`, stop them too and start them last. To restore, stop the same containers, rename the database folder in `appdata`, copy your copy back with `sudo cp -a` under the old name, and start the containers again. If `docker start` says there is no such container (for example after **Backup** or **Down** removed them), use **Stack Manager** > **Up** instead.
183
185
184
186
**PostgreSQL: dump while it runs.** This makes one `.sql` file and keeps the app running:
The dump was made with `--clean`, so loading it replaces the tables in the current database. Anything the app saved since the dump is lost. Make a new dump of the current state first, with another file name, so you can go back.
202
+
:::
203
+
204
+
**MariaDB: dump while it runs.** The root password is already inside the container, either as a variable or in a secret file. This command reads it there, so you don't type it and it doesn't end up in your shell history:
0 commit comments