mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-07-03 23:29:52 +02:00
Update page 'Home'
parent
c99d5051ae
commit
8566fc7a08
1 changed files with 6 additions and 3 deletions
9
Home.md
9
Home.md
|
@ -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…
Add table
Add a link
Reference in a new issue