1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-07-03 23:29:52 +02:00

Update page 'Home'

fox 2020-09-30 10:12:06 +00:00
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: