diff options
Diffstat (limited to 'snap.py')
-rwxr-xr-x | snap.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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', |