bup-join(1)

bup-join1

Concatenate files from a bup repository

Usage

bup join [-r host:path] [refs or hashes ...]

Overview

bup join is roughly the opposite operation to bup-split(1). You can use it to retrieve the contents of a file from a local or remote bup repository.

The supplied list of refs or hashes can be in any format accepted by git(1), including branch names, commit ids, tree ids, or blob ids.

If no refs or hashes are given on the command line, bup join reads them from stdin instead.

Options

-r, --remote=[user@]host:[path], --remote=URL

retrieve the data from the specified remote repository, by default via SSH. See bup(1) REMOTE OPTIONS for further information.

Examples

# split and then rejoin a file using its tree id
TREE=$(tar -cvf - /etc | bup split -t)
bup join $TREE | tar -tf -
# make two backups, then get the second-most-recent.
# mybackup~1 is git(1) notation for the second most
# recent commit on the branch named mybackup.
tar -cvf - /etc | bup split -n mybackup
tar -cvf - /etc | bup split -n mybackup
bup join mybackup~1 | tar -tf -

Bup

Part of the bup(1) suite.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 11
  6. 12
  7. 13
  8. Arch

--remote since Debian 7 (Wheezy); -r since Debian 7 (Wheezy).

Authors

Avery Pennarun ⟨[email protected]⟩\c.

From bup 0.34-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.