2011-04-08 18:56:57 +00:00
|
|
|
This special remote type stores file contents in a
|
2013-01-22 01:19:10 +00:00
|
|
|
[bup](http://github.com/bup/bup) repository. By using git-annex
|
2011-04-08 18:56:57 +00:00
|
|
|
in the front-end, and bup as a remote, you get an easy git-style
|
|
|
|
interface to large files, and easy backups of the file contents using git.
|
|
|
|
|
2011-04-17 15:08:11 +00:00
|
|
|
This is particularly well suited to collaboration on projects involving
|
|
|
|
large files, since both the git-annex and bup repositories can be
|
|
|
|
accessed like any other git repository.
|
|
|
|
|
2011-04-08 18:56:57 +00:00
|
|
|
See [[walkthrough/using_bup]] for usage examples.
|
|
|
|
|
2011-04-08 20:51:49 +00:00
|
|
|
Each individual key is stored in a bup remote using `bup split`, with
|
|
|
|
a git branch named the same as the key name. Content is retrieved from
|
|
|
|
bup using `bup join`. All other bup operations are up to you -- consider
|
|
|
|
running `bup fsck --generate` in a cron job to generate recovery blocks,
|
|
|
|
for example; or clone bup's git repository to further back it up.
|
|
|
|
|
2011-04-08 18:56:57 +00:00
|
|
|
## configuration
|
|
|
|
|
|
|
|
These parameters can be passed to `git annex initremote` to configure bup:
|
|
|
|
|
2011-04-09 16:41:17 +00:00
|
|
|
* `buprepo` - Required. This is passed to `bup` as the `--remote`
|
2011-04-09 00:44:52 +00:00
|
|
|
to use to store data. To create the repository,`bup init` will be run.
|
2011-04-09 16:41:17 +00:00
|
|
|
Example: "buprepo=example.com:/big/mybup" or "buprepo=/big/mybup"
|
|
|
|
(To use the default `~/.bup` repository on the local host, specify "buprepo=")
|
2011-04-08 18:56:57 +00:00
|
|
|
|
2014-08-02 21:04:40 +00:00
|
|
|
* `encryption` - One of "none", "hybrid", "shared", or "pubkey".
|
|
|
|
See [[encryption]]. Note that using encryption will prevent
|
|
|
|
de-duplication of content stored in the buprepo.
|
|
|
|
|
|
|
|
* `keyid` - Specifies the gpg key to use for [[encryption]].
|
|
|
|
|
2011-04-08 18:56:57 +00:00
|
|
|
Options to pass to `bup split` when sending content to bup can also
|
|
|
|
be specified, by using `git config annex.bup-split-options`. This
|
|
|
|
can be used to, for example, limit its bandwidth.
|
|
|
|
|
2011-04-09 18:40:14 +00:00
|
|
|
## notes
|
|
|
|
|
|
|
|
[[git-annex-shell]] does not support bup, due to the wacky way that bup
|
|
|
|
starts its server. So, to use bup, you need full shell access to the server.
|