Преглед изворни кода

transfer: fix for non-unique archive names

For Archive(), always use the archive id, not the archive name!
Thomas Waldmann пре 10 месеци
родитељ
комит
f5b3ab66e9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/borg/archiver/transfer_cmd.py

+ 1 - 1
src/borg/archiver/transfer_cmd.py

@@ -97,7 +97,7 @@ class TransferMixIn:
             else:
                 if not dry_run:
                     print(f"{name} {ts_str} {id_hex}: copying archive to destination repo...")
-                other_archive = Archive(other_manifest, name)
+                other_archive = Archive(other_manifest, id)
                 archive = (
                     Archive(manifest, name, cache=cache, create=True, progress=args.progress) if not dry_run else None
                 )