Update page 'Home'

master
fox 5 years ago
parent c99d5051ae
commit 8566fc7a08

@ -94,11 +94,14 @@ You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outsi
Unless you have `backups` container disabled, stock configuration makes automatic tt-rss database backups once a week to a separate storage volume. Unless you have `backups` container disabled, stock configuration makes automatic tt-rss database backups once a week to a separate storage volume.
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): A process to restore from such backup would look similar to this:
```sh ```sh
zcat /var/lib/docker/volumes/ttrss-docker-static_backups/_data/ttrss-backup-20200930.sql.gz | $ docker-compose exec backups /bin/sh
docker exec -i --user postgres ttirc-docker-compose_db_1 psql / # ls /backups
ttrss-backup-20200930.sql.gz
...
/ # zcat /backups/ttrss-backup-20200930.sql.gz | psql -h db -U $DB_USER $DB_NAME
``` ```
Alternatively, you can use something like this: Alternatively, you can use something like this:

Loading…
Cancel
Save