From 825985e59c60b5ce3e22eb35dc856b8f8521c85e Mon Sep 17 00:00:00 2001 From: Shadow Date: Mon, 3 Jul 2023 01:46:24 -0700 Subject: [PATCH] Update backup_and_restore.md (#242) --- src/administration/backup_and_restore.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/administration/backup_and_restore.md b/src/administration/backup_and_restore.md index f50ca32..ee7635c 100644 --- a/src/administration/backup_and_restore.md +++ b/src/administration/backup_and_restore.md @@ -4,9 +4,9 @@ When using docker or ansible, there should be a `volumes` folder, which contains both the database, and all the pictures. Copy this folder to the new instance to restore your data. -### Incremental Database backup +### Full Database backup -To incrementally backup the DB to an `.sql.gz` file, you can run: +To take a complete backup of the DB to a `.sql.gz` file, you can run: ```bash docker-compose exec postgres pg_dumpall -c -U lemmy | gzip > lemmy_dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql.gz