-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache location #358
Comments
The repository can be remote (ssh: repo locations) and encrypted. I worked on accelerating cache sync, but it is not easy... |
On my NAS, attics cache folder is about 15GB (backing up roughly 6TB of data). Is there an option to either switch off cache and what factor would be the performance loss? Is it safe to symlink the cache folder to another drive? |
@ThomasWaldmann I see how remote locations wouldn't work that well, but I don't see how encryption would prevent that, like how encrypted hard drives don't have external cache locations, but inodes which store the data(of course the situations are much different, but I'm just giving an example). Also concerning the speed of rebuilding cache sync, maybe a local cache and a cache in the archive could be stored with timestamps on the each of them. Then if the local cache is older than the archive cache, attic could rsync to the local cache, so the local cache could be updated. I'm not sure how much overhead this would add, but I think it would be better than rebuilding the cache each time on a new computer/account.Then again, I'm clueless to the intricacies of how attic backs up and dedups data, so this might not help at all. Anyways, thanks for making such a great backup program. |
@Schroedingers-Cat symlinking ~/.cache/attic to some directory on a filesystem with more space should work. |
@m4nukum4r you have to thank @jborg - attic is his creation. ;) My point with encryption is that a cache somewhere inside the repo directory would have to be encrypted also, to not disclose any information. To use it, you would not just only have to transfer it from remote, but also decrypt it again. Not sure if that is faster than the rebuild. |
Gotcha @ThomasWaldmann, and thanks @jborg for making attic! If I'm interpreting what you're saying correctly, you're thinking Also I think that rsyncing caches from remote archives to the local |
I understood what you said in previous post. The current (local) cache is not and does not need to be encrypted. Your local backup source data isn't encrypted either. :) |
I was wondering why the cache location is in the home dir. If the cache was located inside the attic archive, attic could be easily used by different accounts and computers without having those computers/accounts rebuild the cache(which takes a ton of time on a large archive) each time a backup was made from a different source.
The text was updated successfully, but these errors were encountered: