From 3f688208e6681e50cb7d6be6277a4421d29e05a9 Mon Sep 17 00:00:00 2001 From: fox Date: Wed, 30 Sep 2020 09:59:09 +0000 Subject: [PATCH] Update page 'Home' --- Home.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index 52932a3..9542a16 100644 --- a/Home.md +++ b/Home.md @@ -92,7 +92,15 @@ You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outsi ### Backing up the database -You can use something like this: +Unless you have `backups` container disabled, stock configuration makes automatic tt-rss database backups once a week to a separate storage volume (`backups`). + +A command to restore from such backup would look similar to this (use `docker volume inspect` to find the location of the storage volume on your server): + +``sh +zcat /var/lib/docker/volumes/ttrss-docker-static_backups/_data/ttrss-backup-20200930.sql.gz | docker exec -i --user postgres ttirc-docker-compose_db psql +`` + +Alternatively, you can use something like this: ```sh source .env