From 5c3bc643d25941425625448d63731749f200a3cb Mon Sep 17 00:00:00 2001 From: stratself Date: Mon, 12 Oct 2026 18:20:43 +0000 Subject: [PATCH] docs(docker): Add backup/restore instructions --- docs/deploying/docker.mdx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/deploying/docker.mdx b/docs/deploying/docker.mdx index dbda5af94..23f5f280e 100644 --- a/docs/deploying/docker.mdx +++ b/docs/deploying/docker.mdx @@ -212,7 +212,9 @@ Test that your setup works by following these [instructions](./generic.mdx#how-d Check your container logs using `docker-compose logs --follow` to debug any issues. See the [Troubleshooting](../troubleshooting.mdx) page for common errors and how to fix them. -## Updating +## Maintenance + +### Updating To update to a new version of Continuwuity, use the following commands: @@ -225,6 +227,10 @@ docker compose pull docker compose up -d ``` +### Backups + +The database in `./continuwuity-data` is present on the host system as a regular directory, and therefore can be backed up using normal mechanisms. See the [Backup](../maintenance.mdx#backups) section of the Maintenance page for more details. + ## What's next? Navigate to [Post-installation](../deploying.mdx#post-installation) for next steps. @@ -321,8 +327,11 @@ The example compose files above utilizes [bind mounts][docker-bind-mounts]. If y + continuwuity-data: ``` +Consult the [Docker docs][docker-volumes-backup-restore] for details on backing up and restoring Docker volumes + [docker-bind-mounts]: https://docs.docker.com/engine/storage/bind-mounts/ [docker-volumes]: https://docs.docker.com/engine/storage/volumes/ +[docker-volumes-backup-restore]: https://docs.docker.com/engine/storage/volumes/#back-up-restore-or-migrate-data-volumes ### Building Custom Images