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