From 61222ad293e85fb8086bfeca5d4e5cff010e62e4 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnov5q9_Cl4Ps5NoYE08yE01NLSvBANnY8" Date: Thu, 10 Jul 2014 05:50:32 +0000 Subject: [PATCH 1/5] Added a comment --- .../comment_3_f359d9b9356de7ee10b9e725a011cc43._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Git_Annex_Assistant_won__39__t_backup_files_to_removable_drive/comment_3_f359d9b9356de7ee10b9e725a011cc43._comment diff --git a/doc/forum/Git_Annex_Assistant_won__39__t_backup_files_to_removable_drive/comment_3_f359d9b9356de7ee10b9e725a011cc43._comment b/doc/forum/Git_Annex_Assistant_won__39__t_backup_files_to_removable_drive/comment_3_f359d9b9356de7ee10b9e725a011cc43._comment new file mode 100644 index 0000000000..caec25ffd1 --- /dev/null +++ b/doc/forum/Git_Annex_Assistant_won__39__t_backup_files_to_removable_drive/comment_3_f359d9b9356de7ee10b9e725a011cc43._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawnov5q9_Cl4Ps5NoYE08yE01NLSvBANnY8" + nickname="Eric" + subject="comment 3" + date="2014-07-10T05:50:32Z" + content=""" +Actually, I understand the logic behind encouraging bare repositories. +"""]] From 64748d8094407d62bc474fc89e3be5c92c1df4d4 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8" Date: Thu, 10 Jul 2014 11:55:46 +0000 Subject: [PATCH 2/5] solution ok --- .../help_needed_with_setup:_2_local_computers_and_box.com.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn index e484c4f0e0..a5ec0775d2 100644 --- a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn +++ b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn @@ -1,5 +1,5 @@ **EDIT: partially solved** -*by looking around I might have come upon the solution to my own question: the webapp uses a shared cipher for encryption, and since the cipher is stored in the git repository, only the contents will be synced in the encrypted repository (in the cloud in this case). So both computers need to be online to sync, because the cloud only has the content of the files and not the whole annex repository.* +*by looking around I might have come upon the solution to my own question: the webapp uses a shared cipher for encryption, and since the cipher is stored in the git repository, only the contents will be synced in the encrypted repository (in the cloud in this case). So both computers need to be online to sync, because the cloud only has the annexed files and not the whole git repository. I'm going to try with the hybrid or pub enc method to see if that'd work* --- From e488af18b8f7500007bebca94f4e586c8f46165c Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8" Date: Thu, 10 Jul 2014 13:57:45 +0000 Subject: [PATCH 3/5] still not working --- ..._needed_with_setup:_2_local_computers_and_box.com.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn index a5ec0775d2..96f6b28e0e 100644 --- a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn +++ b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn @@ -1,8 +1,14 @@ **EDIT: partially solved** -*by looking around I might have come upon the solution to my own question: the webapp uses a shared cipher for encryption, and since the cipher is stored in the git repository, only the contents will be synced in the encrypted repository (in the cloud in this case). So both computers need to be online to sync, because the cloud only has the annexed files and not the whole git repository. I'm going to try with the hybrid or pub enc method to see if that'd work* +*by looking around I might have come upon the solution to my own question: the webapp uses a shared cipher for encryption, and since the cipher is stored in the git repository, only the contents will be synced in the encrypted repository (in the cloud in this case). So both computers need to be online to sync, because the cloud only has the annexed files and not the whole git repository. I'm going to try with the hybrid or pub enc method to see if that'd work.* --- +**EDIT2: still not working** +I've tried with hybrid encryption and with no encryption and it's still not working. Help? Is it a limitation of webdav remotes? Can they store the git repository as well as the annexed files? + +--- + + Hello everyone, I need some help with this use-case: two local computers, paired with git annex, also sync in the cloud (box.com) to pull and push changes even when the other local computer is offline. From 30d3bd9458de534e934e3f78e6e5d84cee4e51b5 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8" Date: Thu, 10 Jul 2014 15:01:12 +0000 Subject: [PATCH 4/5] --- .../help_needed_with_setup:_2_local_computers_and_box.com.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn index 96f6b28e0e..794d021c1c 100644 --- a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn +++ b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn @@ -28,7 +28,7 @@ The problem is that this won't work for the following use-case, which I'm curren (continued from the previous steps) 6. *B* goes offline. -7. *A* creates a file (or makes a change), which is correctly synced to box.com (*whereis* shows that it's there too). As expected, syncing with B fails because B is offline. +7. *A* creates a file which is correctly synced to box.com. 8. *A* goes offline. 9. *B* come back online. From 9bad3ed3b70a1299859ee9878710361eb6a39925 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmMLeU-zCzx2mc5pL2XT8a1UNkQwHAHjg8" Date: Thu, 10 Jul 2014 15:30:59 +0000 Subject: [PATCH 5/5] removed --- ..._setup:_2_local_computers_and_box.com.mdwn | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn diff --git a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn b/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn deleted file mode 100644 index 794d021c1c..0000000000 --- a/doc/forum/help_needed_with_setup:_2_local_computers_and_box.com.mdwn +++ /dev/null @@ -1,39 +0,0 @@ -**EDIT: partially solved** -*by looking around I might have come upon the solution to my own question: the webapp uses a shared cipher for encryption, and since the cipher is stored in the git repository, only the contents will be synced in the encrypted repository (in the cloud in this case). So both computers need to be online to sync, because the cloud only has the annexed files and not the whole git repository. I'm going to try with the hybrid or pub enc method to see if that'd work.* - ---- - -**EDIT2: still not working** -I've tried with hybrid encryption and with no encryption and it's still not working. Help? Is it a limitation of webdav remotes? Can they store the git repository as well as the annexed files? - ---- - - -Hello everyone, - -I need some help with this use-case: two local computers, paired with git annex, also sync in the cloud (box.com) to pull and push changes even when the other local computer is offline. - -I've tried the following steps with the webapp, but the result isn't working so far: - -1. Create repo in *Computer A* through the webapp. -2. Create repo in *Computer B* through the webapp. -3. In *Computer A*, add box.com encrypted repository and put it in the 'backup' group (Just to make sure that it gets everything but I've also tried re-doing the whole procedure with box.com set to 'transfer' (as suggested by the webapp), and still will not work). -4. Pair computer *A* and *B* over the local network. -5. Now also enable box.com in *B* (the cloud repo has appeared thanks to pairing) - -So far, when everyone is online, everything syncs correctly. Creating "file1" in *A*, will sync it to all repositories as shown by "git annex whereis file1". - -The problem is that this won't work for the following use-case, which I'm currently trying to solve: - -(continued from the previous steps) - -6. *B* goes offline. -7. *A* creates a file which is correctly synced to box.com. -8. *A* goes offline. -9. *B* come back online. - -The expected behavior here is that B gets the new file (or change) from box.com, since it's been pushed there by *A*, but this doesn't happen. Strangely, the new file doesn't get in *B* until *A* comes back online. - -**What am I missing? Should I do something differently to get this behavior?** - -Thanks everyone for your help.