This unit is provided by:
Options
-
[Service]-
Environment="KEEP=3" -
ExecStart=/usr/bin/pg_backupcluster %i dump /usr/bin/pg_backupcluster %i expiredumps $KEEP -
ExecStartPre=+/usr/bin/pg_backupcluster %i createdirectory -
Type=oneshot -
User=postgres
-
-
[Unit]-
After=postgresql@%i.service -
AssertPathExists=/etc/postgresql/%I/postgresql.conf -
Description=Dump of PostgreSQL Cluster %i -
RequiresMountsFor=/var/backups/postgresql -
Wants=postgresql@%i.service
-
Additionnal notes
Nothing here.