From c19736c64e52d6e15b3bd9425cf793c70ab459fe Mon Sep 17 00:00:00 2001 From: pigmonkey Date: Fri, 2 Sep 2016 02:20:00 +0000 Subject: --- doc/todo/Specify_maximum_usable_space_per_remote.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/todo/Specify_maximum_usable_space_per_remote.mdwn (limited to 'doc/todo/Specify_maximum_usable_space_per_remote.mdwn') diff --git a/doc/todo/Specify_maximum_usable_space_per_remote.mdwn b/doc/todo/Specify_maximum_usable_space_per_remote.mdwn new file mode 100644 index 000000000..14f9d548b --- /dev/null +++ b/doc/todo/Specify_maximum_usable_space_per_remote.mdwn @@ -0,0 +1,9 @@ +I would like to be able to limit the amount of space git-annex will use on a remote. + +Obviously this would not limit the total amount of space used on whatever filesystem the remote is on, but would only apply to space used within the remote for the particular annex in question. + +Many of the cloud storage providers that git-annex supports through special remotes have free tiers. For instance, Google offers 15GB of free storage. If I have an annex with > 15 GB of storage I don't just want to add a Google Drive special remote and start attempting to copy everything over. But it would be great to be able to take advantage of that storage by adding a special remote to the annex and telling git-annex to only use a maximum of 13 GB (to leave myself a 2 GB buffer, in case things get added to the Google Drive through some mechanism outside of the annex). I could then add the remote to a preferred content group like `backup` and do a `git-annex copy --auto gdrive`, which would copy everything to Google Drive, unless transferring the next file would cause the remote to use over 13 GB. + +Currently I can see the size of a remote using `git annex info gdrive`, so git-annex appears to have the needed information. + +This is sort of like `annex.diskreserve`, but more useful for special remotes where setting an amount of space to keep free is not relevant. -- cgit v1.2.3