Hello,
I am just starting to learn git-annex so forgive me if this is a naive question.
I have the following repositories:
- Home (laptop)
- Work (mac mini)
- S3 bucket
- USB drive, full backup, attached to Home laptop.
I want to sync files between Home and Work via the S3 bucket. It is not clear to me how to accomplish this through the git-annex assistant. Is this possible? Are there instructions online?
Thanks in advance!
Scott
You can sync both repos. The simplest way is to have both clients signed on to jabber. This way the clients exchange information when the two are online.
Additionally you need to have a cloud special remote available on both ends. The cloud repository is needed to push and retrieve data for the clients. You need to configure the cloud as a transfer reposity. The clients as - what else - client. The USB Drive can be used as a backup repository on one or both ends and perhaps even for syncing very large files around.
I tried a different approach and attempted to setup s3 at the command line. This is what I did:
zombie:annex scott$ export AWS_ACCESS_KEY_ID="my key" zombie:annex scott$ export AWS_SECRET_ACCESS_KEY="my secret key" zombie:annex scott$ git annex initremote S3 type=S3 encryption=shared [2013-08-21 13:03:42 PDT] read: git ["--git-dir=/Network/Servers/filer004/vol/office_homes/scott/annex/.git","--work-tree=/Network/Servers/filer004/vol/office_homes/scott/annex","show-ref","git-annex"] [2013-08-21 13:03:42 PDT] read: git ["--git-dir=/Network/Servers/filer004/vol/office_homes/scott/annex/.git","--work-tree=/Network/Servers/filer004/vol/office_homes/scott/annex","show-ref","--hash","refs/heads/git-annex"] [2013-08-21 13:03:42 PDT] read: git ["--git-dir=/Network/Servers/filer004/vol/office_homes/scott/annex/.git","--work-tree=/Network/Servers/filer004/vol/office_homes/scott/annex","log","refs/heads/git-annex..da801570f9ed8d28e5a0cea6cc51f1a2003317d6","--oneline","-n1"] [2013-08-21 13:03:42 PDT] read: git ["--git-dir=/Network/Servers/filer004/vol/office_homes/scott/annex/.git","--work-tree=/Network/Servers/filer004/vol/office_homes/scott/annex","log","refs/heads/git-annex..8015f3fed32792b558d16008d20816fab0fc50c2","--oneline","-n1"] [2013-08-21 13:03:42 PDT] chat: git ["--git-dir=/Network/Servers/filer004/vol/office_homes/scott/annex/.git","--work-tree=/Network/Servers/filer004/vol/office_homes/scott/annex","cat-file","--batch"] [2013-08-21 13:03:42 PDT] read: git ["config","--null","--list"] initremote S3 (encryption setup) [2013-08-21 13:03:42 PDT] read: gpg ["--quiet","--trust-model","always","--gen-random","--armor","2","512"] (shared cipher) (checking bucket...) git-annex: connect: does not exist (Connection refused) failed git-annex: initremote: 1 failed
Sorry that didnt format properly