|
|
@ -286,8 +286,8 @@ Alternatively, if you want to initiate backups from the host, you can use someth
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
source .env
|
|
|
|
source .env
|
|
|
|
docker-compose exec db /bin/bash \
|
|
|
|
docker-compose exec db /bin/bash \
|
|
|
|
-c "export PGPASSWORD=$POSTGRES_PASSWORD \
|
|
|
|
-c "export PGPASSWORD=$TTRSS_DB_PASS \
|
|
|
|
&& pg_dump -U $POSTGRES_USER $POSTGRES_USER" \
|
|
|
|
&& pg_dump -U $TTRSS_DB_USER $TTRSS_DB_NAME" \
|
|
|
|
| gzip -9 > backup.sql.gz
|
|
|
|
| gzip -9 > backup.sql.gz
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|