From 7dfdf54de426b995173cec67b40451f0b83d264a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 10 Feb 2022 12:53:05 +0100 Subject: ymir: ... --- snap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap.py b/snap.py index 49c1adaa..443b3bdb 100755 --- a/snap.py +++ b/snap.py @@ -64,7 +64,7 @@ def borg_lv(lv, target, archive_prefix, dry_run, **args): archive_lvn=lvn if "/".join(vgp[:-1]) != archive_prefix.split('.')[-2]: archive_lvn=f'{"_".join(vgp[:-1])}_{archive_lvn}' - archive=f'{target}::{archive_prefix}{archive_lvn}-{{utcnow}}' + archive=f'{target}::{archive_prefix}{archive_lvn}-{creation_time.strftime("%Y-%m-%dT%H:%M:%S")}' env = os.environ.copy() create_args = ['borg', -- cgit v1.2.3