|
|
@ -98,7 +98,7 @@ A process to restore from such backup would look like this:
|
|
|
|
|
|
|
|
|
|
|
|
1. Enter `backups` container shell: `docker-compose exec backups /bin/sh`
|
|
|
|
1. Enter `backups` container shell: `docker-compose exec backups /bin/sh`
|
|
|
|
2. Inside the container, locate and choose the backup file: `ls -t /backups/*.sql.gz`
|
|
|
|
2. Inside the container, locate and choose the backup file: `ls -t /backups/*.sql.gz`
|
|
|
|
3. Restore the backup: `/backups/ttrss-backup-yyyymmdd.sql.gz | psql -h db -U $DB_USER $DB_NAME`
|
|
|
|
3. Restore the backup: `zcat /backups/ttrss-backup-yyyymmdd.sql.gz | psql -h db -U $DB_USER $DB_NAME`
|
|
|
|
|
|
|
|
|
|
|
|
Alternatively, if you want to initiate backups from the host, you can use something like this:
|
|
|
|
Alternatively, if you want to initiate backups from the host, you can use something like this:
|
|
|
|
|
|
|
|
|
|
|
|