backup at determined time

This commit is contained in:
cronekorkn 2022-09-24 13:35:15 +02:00
parent ca15978a6c
commit 7c1da59bb7
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,8 @@ defaults = {
'systemd-timers': { 'systemd-timers': {
f'backup': { f'backup': {
'command': '/opt/backup/backup_all', 'command': '/opt/backup/backup_all',
'when': 'daily', 'when': '1:00',
'persistent': True,
}, },
}, },
} }

View file

@ -2,7 +2,7 @@ defaults = {
'systemd-timers': { 'systemd-timers': {
'zfs-mirror': { 'zfs-mirror': {
'command': '/opt/zfs-mirror', 'command': '/opt/zfs-mirror',
'when': 'daily', 'when': '2:00',
'persistent': True, 'persistent': True,
}, },
}, },