1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-07-04 22:39:53 +02:00

Update page 'Home'

fox 2020-09-30 09:59:09 +00:00
parent e5ea709bc5
commit 3f688208e6

10
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