From 1599acd5f317bf641ab8a616f06e7849000e04d5 Mon Sep 17 00:00:00 2001 From: "http://sekenre.wordpress.com/" Date: Tue, 7 May 2013 16:46:34 +0000 Subject: Added a comment: Synchronizing Bup repositories --- ...nt_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/special_remotes/bup/comment_10_f78c1ed97d2e4c6ebffaa7482cfe0c9b._comment 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 --from bup_repo_2` will work. + +So far in my testing I haven't found any problems... + +"""]] -- cgit v1.2.3