From 7c1da59bb7b0b02c6f42fc0b26df0ae799c4a465 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Sat, 24 Sep 2022 13:35:15 +0200 Subject: [PATCH] backup at determined time --- bundles/backup/metadata.py | 3 ++- bundles/zfs-mirror/metadata.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bundles/backup/metadata.py b/bundles/backup/metadata.py index 3d0a716..2a6bf0d 100644 --- a/bundles/backup/metadata.py +++ b/bundles/backup/metadata.py @@ -20,7 +20,8 @@ defaults = { 'systemd-timers': { f'backup': { 'command': '/opt/backup/backup_all', - 'when': 'daily', + 'when': '1:00', + 'persistent': True, }, }, } diff --git a/bundles/zfs-mirror/metadata.py b/bundles/zfs-mirror/metadata.py index 0a982be..9dce0fb 100644 --- a/bundles/zfs-mirror/metadata.py +++ b/bundles/zfs-mirror/metadata.py @@ -2,7 +2,7 @@ defaults = { 'systemd-timers': { 'zfs-mirror': { 'command': '/opt/zfs-mirror', - 'when': 'daily', + 'when': '2:00', 'persistent': True, }, },