2012-04-11 18:22:59 +00:00
|
|
|
git-annex can transfer data to and from configured git remotes.
|
2011-08-17 01:12:48 +00:00
|
|
|
Normally those remotes are normal git repositories (bare and non-bare;
|
2012-04-11 18:22:59 +00:00
|
|
|
local and remote), that store the file contents in their own git-annex
|
2011-08-17 01:12:48 +00:00
|
|
|
directory.
|
2011-03-28 02:52:13 +00:00
|
|
|
|
|
|
|
But, git-annex also extends git's concept of remotes, with these special
|
|
|
|
types of remotes. These can be used just like any normal remote by git-annex.
|
|
|
|
They cannot be used by other git commands though.
|
|
|
|
|
2011-05-16 06:07:59 +00:00
|
|
|
* [[S3]] (Amazon S3, and other compatible services)
|
2012-11-20 21:13:35 +00:00
|
|
|
* [[Amazon_Glacier|glacier]]
|
2011-04-08 18:56:57 +00:00
|
|
|
* [[bup]]
|
2011-03-30 17:18:46 +00:00
|
|
|
* [[directory]]
|
2011-04-28 00:06:07 +00:00
|
|
|
* [[rsync]]
|
2012-11-20 21:13:35 +00:00
|
|
|
* [[webdav]]
|
2011-07-01 20:01:26 +00:00
|
|
|
* [[web]]
|
2013-03-24 13:09:41 +00:00
|
|
|
* [[xmpp]]
|
2011-04-28 19:26:21 +00:00
|
|
|
* [[hook]]
|
2012-03-04 00:06:27 +00:00
|
|
|
|
|
|
|
The above special remotes can be used to tie git-annex
|
|
|
|
into many cloud services. Here are specific instructions
|
|
|
|
for various cloud things:
|
|
|
|
|
2013-05-23 23:28:45 +00:00
|
|
|
* [[Amazon_S3|tips/using_Amazon_S3]]
|
|
|
|
* [[Amazon_Glacier|tips/using_Amazon_Glacier]]
|
2012-03-04 00:06:27 +00:00
|
|
|
* [[tips/Internet_Archive_via_S3]]
|
|
|
|
* [[tahoe-lafs|forum/tips:_special__95__remotes__47__hook_with_tahoe-lafs]]
|
2013-05-23 23:28:45 +00:00
|
|
|
* [[Box.com|tips/using_box.com_as_a_special_remote]]
|
2013-05-23 23:29:48 +00:00
|
|
|
* [[Google drive|tips/googledriveannex]]
|
2013-05-23 23:28:45 +00:00
|
|
|
* [[Mega.co.nz|tips/megaannex]]
|
|
|
|
* [[Flickr|tips/flickrannex]]
|
|
|
|
* [[IMAP|forum/special_remote_for_IMAP]]
|
|
|
|
* [[Usenet|forum/nntp__47__usenet special remote]]
|
2011-04-03 00:59:41 +00:00
|
|
|
|
|
|
|
## Unused content on special remotes
|
|
|
|
|
|
|
|
Over time, special remotes can accumulate file content that is no longer
|
|
|
|
referred to by files in git. Normally, unused content in the current
|
|
|
|
repository is found by running `git annex unused`. To detect unused content
|
|
|
|
on special remotes, instead use `git annex unused --from`. Example:
|
|
|
|
|
|
|
|
$ git annex unused --from mys3
|
2011-05-29 02:20:22 +00:00
|
|
|
unused mys3 (checking for unused data...)
|
2011-04-03 00:59:41 +00:00
|
|
|
Some annexed data on mys3 is not used by any files in this repository.
|
|
|
|
NUMBER KEY
|
|
|
|
1 WORM-s3-m1301674316--foo
|
|
|
|
(To see where data was previously used, try: git log --stat -S'KEY')
|
|
|
|
(To remove unwanted data: git-annex dropunused --from mys3 NUMBER)
|
|
|
|
$ git annex dropunused --from mys3 1
|
|
|
|
dropunused 12948 (from mys3...) ok
|