1 % bup-import-duplicity(1) Bup %BUP_VERSION%
2 % Zoran Zaric <zz@zoranzaric.de>, Rob Browning <rlb@defaultvalue.org>
7 bup-import-duplicity - import duplicity backups
11 bup import-duplicity [-n] \<source-url\> \<save-name\>
15 `bup import-duplicity` imports all of the duplicity backups at
16 `source-url` into `bup` via `bup save -n save-name`. The bup saves
17 will have the same timestamps (via `bup save --date`) as the original
20 Because this command operates by restoring each duplicity backup to a
21 temporary directory, the extent to which the metadata is preserved
22 will depend on the characteristics of the underlying filesystem,
23 whether or not you run `import-duplicity` as root (or under
26 Note that this command will use [`mkdtemp`][mkdtemp] to create
27 temporary directories, which means that it should respect any
28 `TEMPDIR`, `TEMP`, or `TMP` environment variable settings. Make sure
29 that the relevant filesystem has enough space for the largest
30 duplicity backup being imported.
32 Since all invocations of duplicity use a temporary `--archive-dir`,
33 `import-duplicity` should not affect ~/.cache/duplicity.
38 : don't do anything; just print out what would be done
42 $ bup import-duplicity file:///duplicity/src/ legacy-duplicity
46 Part of the `bup`(1) suite.
48 [mkdtemp]: https://docs.python.org/2/library/tempfile.html#tempfile.mkdtemp