summaryrefslogtreecommitdiff
path: root/doc/special_remotes
diff options
context:
space:
mode:
authorGravatar http://sekenre.wordpress.com/ <sekenre@web>2013-05-07 16:46:34 +0000
committerGravatar admin <admin@branchable.com>2013-05-07 16:46:34 +0000
commit1599acd5f317bf641ab8a616f06e7849000e04d5 (patch)
tree771234a630f0d870b29f6c0966b210ebe50661d6 /doc/special_remotes
parente1ebf030e75c5a3e0e25f948967997e09abe6f44 (diff)
Added a comment: Synchronizing Bup repositories
Diffstat (limited to 'doc/special_remotes')
-rw-r--r--doc/special_remotes/bup/comment_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/special_remotes/bup/comment_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment b/doc/special_remotes/bup/comment_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment
new file mode 100644
index 000000000..97f9b9ea9
--- /dev/null
+++ b/doc/special_remotes/bup/comment_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="http://sekenre.wordpress.com/"
+ nickname="sekenre"
+ subject="Synchronizing Bup repositories"
+ date="2013-05-07T16:46:34Z"
+ content="""
+Hi All,
+
+I managed to answer my questions above about copying changes between local bup repositories efficiently.
+
+You run the following commands
+
+ git annex copy . --to bup_repo_1 # Uses bup split in the background (slow)
+ rsync -av /mnt/repodisk1/repo/ /mnt/repodisk2/repo/ \
+ --exclude=config --exclude=*.bloom --exclude=*.midx # rsync without bup-specific indices (speed depends on delta between repositories)
+ BUP_DIR=/mnt/repodisk2/repo/ bup midx -a && bup bloom # rebuild bup-specific indices on the target (this is extremely fast)
+ git annex copy . --to bup_repo_2 # Records file is now available in repo2 (also extremely fast)
+
+Now `git annex whereis` will show the correct location and `git annex get <file> --from bup_repo_2` will work.
+
+So far in my testing I haven't found any problems...
+
+"""]]