bup-import-duplicity(1)

bup-import-duplicity πŸ’– (General Commands Manual)

okay bestie, sit down, hydrate, and let me tell you about the ✨iconic✨ little command from the bup gang that goes by bup-import-duplicity. it's giving "rescue mission for your old backups." πŸ¦‹


WARNING 🚨

bup-import-duplicity is EXPERIMENTAL β€” so like, proceed with caution, babes. it's not playing, it's literally labeled experimental in the manpage, no cap.


NAME 🌸

bup-import-duplicity β€” import duplicity backups. that's it, that's the whole job, and she does it slayfully πŸ’…


SYNOPSIS ✨

bup import-duplicity [-n] <source-url> <save-name>

the vibes: you give her a source-url and a save-name, and optionally -n. simple. elegant. a main character. πŸ‘‘


DESCRIPTION 🫢

so what actually happens? bup import-duplicity imports all of the duplicity backups at source-url into bup via bup save -n save-name. and bestie, the timestamps?? they're preserved β€” the bup saves will have the same timestamps as the original backups, via bup save --date. periodt. 😌

now here's the lowkey important part: this command works by restoring each duplicity backup to a temporary directory. which means the extent to which the metadata is preserved will depend on the characteristics of the underlying filesystem, whether or not you run import-duplicity as root (or under fakeroot(1)), etc. so yeah, it's giving "it depends." πŸ™ˆ

also, heads up: this command uses mkdtemp to create temporary directories, which means it should respect any TEMPDIR, TEMP, or TMP environment variable settings. so make sure that the relevant filesystem has enough space for the largest duplicity backup being imported. check your disk space, queen, don't let her choke. πŸ’€

and since all invocations of duplicity use a temporary --archive-dir, import-duplicity should not affect ~/.cache/duplicity. your cache is safe, she's respectful like that. πŸŽ€


OPTIONS πŸ’…

  • -n, --dry-run β€” don't do anything; just print out what would be done. literally just window shopping. no commitment, no consequences, just vibes ✨

EXAMPLES 🌈

$ bup import-duplicity file:///duplicity/src/ legacy-duplicity

look at her go πŸ₯Ή


BUP πŸ¦‹

Part of the bup(1) suite. she's in the family, she belongs, she's part of the group chat. πŸ’œ


AUTHORS πŸŽ€

  • Zoran Zaric zz@zoranzaric.de
  • Rob Browning rlb@defaultvalue.org

legends, honestly. 🫑


and that's the whole page, bestie! 🌟 this was Bup 0.34, dated 2026-09-01, and it's part of the General Commands Manual β€” go import some duplicity backups, be your own hero, and drink some water. πŸ’§πŸ’–

πŸ“¦ where this page comes from