diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-10 12:53:05 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-10 12:53:05 +0100 |
commit | 7dfdf54de426b995173cec67b40451f0b83d264a (patch) | |
tree | 0a9b7586cd20b095d7a5bd8e692ff5e99088a71d | |
parent | 3b9550363fe26f58ed8f26a4424e3d866240485c (diff) | |
download | nixos-7dfdf54de426b995173cec67b40451f0b83d264a.tar nixos-7dfdf54de426b995173cec67b40451f0b83d264a.tar.gz nixos-7dfdf54de426b995173cec67b40451f0b83d264a.tar.bz2 nixos-7dfdf54de426b995173cec67b40451f0b83d264a.tar.xz nixos-7dfdf54de426b995173cec67b40451f0b83d264a.zip |
ymir: ...
-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', |