diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-08-15 13:56:24 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-08-15 13:56:24 -0400 |
commit | 6fd6d286a2d35a6f48ede6a6cbebf322b0107d3d (patch) | |
tree | b468898f5fef36973f2a0f24b4232ea7b6012cd5 | |
parent | 0c4c9db9e8860d05eab5b9766d8719ceec1b0b9d (diff) | |
parent | 7a6ad533383157fc8f92b24610a0a0709b903e4b (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r-- | doc/forum/Is_there_an___39__annex-cost__39___to_NEVER_access_remote__63__.mdwn | 19 |
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.) |