doc update for S3
This commit is contained in:
parent
0a4c610b4f
commit
e62f9816ab
2 changed files with 23 additions and 11 deletions
|
@ -2,19 +2,27 @@ git-annex extends git's usual remotes with some [[special_remotes]], that
|
|||
are not git repositories. This way you can set up a remote using say,
|
||||
Amazon S3, and use git-annex to transfer files into the cloud.
|
||||
|
||||
First, export your S3 credentials:
|
||||
|
||||
export ANNEX_S3_ACCESS_KEY_ID="08TJMT99S3511WOZEP91"
|
||||
export ANNEX_S3_SECRET_ACCESS_KEY="s3kr1t"
|
||||
|
||||
Next, create the remote.
|
||||
|
||||
git annex initremote mys3 type=S3 encryption=none
|
||||
initremote (creating bucket mys3-291d2fdc-5990-11e0-909a-002170d25c55...) ok
|
||||
|
||||
**Note that encrypted buckets are not (yet) supported. Data sent to S3
|
||||
is without encryption susceptible to snooping.**
|
||||
|
||||
First, export your S3 credentials:
|
||||
|
||||
# export ANNEX_S3_ACCESS_KEY_ID="08TJMT99S3511WOZEP91"
|
||||
# export ANNEX_S3_SECRET_ACCESS_KEY="s3kr1t"
|
||||
|
||||
Next, create the S3 remote.
|
||||
|
||||
# git annex initremote mys3 type=S3 encryption=none
|
||||
initremote (creating bucket mys3-291d2fdc-5990-11e0-909a-002170d25c55...) ok
|
||||
|
||||
The configuration for the S3 remote is stored in git. So to make a different
|
||||
repository use the same S3 remote is easy:
|
||||
|
||||
# cd /media/usb/annex
|
||||
# git pull laptop master
|
||||
# git annex initremote mys3
|
||||
initremote ok
|
||||
|
||||
Now the remote can be used like any other remote.
|
||||
|
||||
# git annex copy my_cool_big_file --to mys3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue