aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-15 13:56:24 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-15 13:56:24 -0400
commit6fd6d286a2d35a6f48ede6a6cbebf322b0107d3d (patch)
treeb468898f5fef36973f2a0f24b4232ea7b6012cd5 /doc
parent0c4c9db9e8860d05eab5b9766d8719ceec1b0b9d (diff)
parent7a6ad533383157fc8f92b24610a0a0709b903e4b (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Is_there_an___39__annex-cost__39___to_NEVER_access_remote__63__.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Is_there_an___39__annex-cost__39___to_NEVER_access_remote__63__.mdwn b/doc/forum/Is_there_an___39__annex-cost__39___to_NEVER_access_remote__63__.mdwn
new file mode 100644
index 000000000..0f9b9924b
--- /dev/null
+++ b/doc/forum/Is_there_an___39__annex-cost__39___to_NEVER_access_remote__63__.mdwn
@@ -0,0 +1,19 @@
+Depending on how I am getting my network connection there are cases where I want to never access a remote. BUT it depends on the network connection.
+
+For example, when I'm roaming (and paying excessively for each byte)
+
+- I really don't want my music annex to *ever* hit some site (like S3 / Glacier), BUT
+- I do want to be able to get from a remote (like Glacier) for my work annex.
+
+But if I'm home, then all's fair.
+
+That means I can't do something simple like blocking a particular address/IP with DNS (or whatever). Or even not having the remote listed.
+
+So... I was thinking of using `annex-cost-command` to allow me to set the cost of remotes, based on (say) my IP, but also the annex. Thus it would result in
+
+- [roaming] + [work-annex] == veryExpensiveRemoteCost
+- [roaming] + [music-annex] == Blocked
+
+However I still need a way to say "never, ever, ever" for the cost of some remotes.
+
+Is this possible? (With my cursory looking at the code, I can't see anything.)