From 21ca84cebf825f98d5521bbec2288f04e75e1505 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnoUOqs_lbuWyZBqyU6unHgUduJwDDgiKY" Date: Tue, 29 May 2012 13:23:57 +0000 Subject: [PATCH] --- doc/forum/Getting_started_with_Amazon_S3.mdwn | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/forum/Getting_started_with_Amazon_S3.mdwn diff --git a/doc/forum/Getting_started_with_Amazon_S3.mdwn b/doc/forum/Getting_started_with_Amazon_S3.mdwn new file mode 100644 index 0000000000..1ee86b57fa --- /dev/null +++ b/doc/forum/Getting_started_with_Amazon_S3.mdwn @@ -0,0 +1,28 @@ +I'm just getting started with git-annex and trying to wrap my head around using it with Amazon S3. I am familiar with using git, but things are a bit different as we can't init a repo at S3 directly. + +I've followed http://git-annex.branchable.com/tips/using_Amazon_S3/, and performed: + +`git init`
+Initialized empty Git repository in /home/
+`git annex init`
+init ok
+`git annex initremote s3 type=S3 encryption=FOOBAR bucket=foo`
+initremote s3 (encryption setup with gpg key YGTVT51715TFR) (checking bucket...) (gpg) ok
+`git annex describe s3 "Amazon S3"`
+describe s3 ok
+`git annexx add foo/`
+add foo/bar.txt
+add foo/bar.png
+...etc
+`git annex sync`
+51 files changed, 51 insertions(+)
+create mode 120000 foo/bar.txt
+create mode 120000 foo/bar.png
+...etc
+ + +Looking at http://git-annex.branchable.com/git-annex/, I thought the files added would then be pushed to S3 by git annex sync, but that doesn't seem to be the case. I've also tried variations of got annex copy, like `git annex copy . --to s3`, without any luck. + +Is there a way to push to s3? + +Any help is appreciated!