Update page 'Home'

master
fox 5 years ago
parent 8566fc7a08
commit 86c88b156d

@ -94,17 +94,17 @@ 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.
A process to restore from such backup would look similar to this:
A process to restore from such backup would look like this:
1. Enter backups container shell: `docker-compose exec backups /bin/sh`
2. Inside the container, find latest backup: `ls -t /backups/*.sql.gz`
3. Restore the backup:
```sh
$ docker-compose exec backups /bin/sh
/ # ls /backups
ttrss-backup-20200930.sql.gz
...
/ # zcat /backups/ttrss-backup-20200930.sql.gz | psql -h db -U $DB_USER $DB_NAME
# zcat /backups/ttrss-backup-yyyymmdd.sql.gz | psql -h db -U $DB_USER $DB_NAME
```
Alternatively, you can use something like this:
Alternatively, if you want to initiate backups from the host, you can use something like this:
```sh
source .env

Loading…
Cancel
Save