-
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
"Initializing cache..." does not save progress #107
Comments
I'm having a similar issue. When Attic needs to initialize the cache on the local system (source of the backup) to match what is on the remote system (where the repository lives), it is spending a very long time transmitting data and then processing/analyzing. In the case of a 1.7 million file backup (74GB), with dozens of archive points, over a 1.5Mbps line, that if the local cache directory ever gets corrupted, it will take days to rebuild the local cache. Even with just 11 days worth of archives (roughly 1 backup per day), it is taking a very long time to transmit/process the cache information. So there's definite inefficiencies here that are concerning. The "index.####" file on the remote server is only 161MB. This process started at 11:44 and it is now 12:29. The ~/.cache/UUID/chunks file in the local cache is now 177MB. Over a T1 line (1.5Mbps) that should have taken about 24 minutes to transmit -- and looking at the current bandwidth utilization, that seems to be true. Suggested improvements: Note: It seems like (based on the bandwidth usage graph) that Attic cache initialization does a bulk download of something from the repository, then processes it locally?
|
Thanks for attic!
I use a remote attic repository, across a somewhat unreliable connection, with many accumulated archives. It worked well until recently when the local cache needed to be re-initialized. I am not sure why (but I may have done something to require this).
Now any attic operation requires that the cache be re-initialized. There are so many archives that I do not have a reliable connection for long enough to complete the operation. When I retry, attic appears to restart from the beginning. Also, if the connection is interrupted for a while, attic appears to hang but never quits with an error.
If I get this resolved, I will prune the repository more thoroughly. Until then, I need a cache!
:)
Thanks.
The text was updated successfully, but these errors were encountered: