@@ -65,13 +65,13 @@ You can override used parameters during backup. The parameters for mysqldump are
Postgres backup supports backups with a snapshot database using `CREATE DATABASE snapshot_<SCHEMA> WITH TEMPLATE <SCHEMA>`.
The backup script detects if a server is writable or readonly (slave). On a writable system the snapshot creation is activated.
The creation of a snapshot database fails if a user is connected on the origin database. It is posible to disconnect all users but shouldn't be triggered during production times. You can configure a night time when to allow the disconnect (default: no disconnect).
The creation of a snapshot database fails if a user is connected on the origin database. It is posible to disconnect all users but shouldn't be triggered during production times. You can configure a night time when to allow the disconnect (default: disconnect between 22:00 and 02:00).
You can put these variables into env:
* LD_PGSQL_SNAPSHOTS=0 - disable snapshot on a writable database server
* LD_PGSQL_DISCONNECT_BEFORE - time in the morning until to allow disconnect; eg. "03:00"
* LD_PGSQL_DISCONNECT_AFTER - time in the night when to allow disconnect; eg "22:00"
* LD_PGSQL_DISCONNECT_AFTER - time in the night when to allow disconnect; eg "23:00"
### Transfer :: Restic
...
...
@@ -81,4 +81,4 @@ There are some environment variables for tuning
* RESTIC_READ_CONCURRENCY
* RESTIC_PACK_SIZE
see <https://restic.readthedocs.io/en/latest/047_tuning_backup_parameters.html>
\ No newline at end of file
see <https://restic.readthedocs.io/en/latest/047_tuning_backup_parameters.html>