mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-07-04 22:29:52 +02:00
Update page 'Home'
parent
e5ea709bc5
commit
3f688208e6
1 changed files with 9 additions and 1 deletions
10
Home.md
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
|
### 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
|
```sh
|
||||||
source .env
|
source .env
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue