summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsnap.py2
1 files changed, 1 insertions, 1 deletions
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):
64 archive_lvn=lvn 64 archive_lvn=lvn
65 if "/".join(vgp[:-1]) != archive_prefix.split('.')[-2]: 65 if "/".join(vgp[:-1]) != archive_prefix.split('.')[-2]:
66 archive_lvn=f'{"_".join(vgp[:-1])}_{archive_lvn}' 66 archive_lvn=f'{"_".join(vgp[:-1])}_{archive_lvn}'
67 archive=f'{target}::{archive_prefix}{archive_lvn}-{{utcnow}}' 67 archive=f'{target}::{archive_prefix}{archive_lvn}-{creation_time.strftime("%Y-%m-%dT%H:%M:%S")}'
68 68
69 env = os.environ.copy() 69 env = os.environ.copy()
70 create_args = ['borg', 70 create_args = ['borg',