-
Notifications
You must be signed in to change notification settings - Fork 60
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
creating a new archive after nuke requires a fsck #76
Comments
Leaving breadcrumbs for myself when I come back to this issue later: The reason we need a fsck is because But if we add a new NETPACKET_WRITE_ISEMPTY request to the client-server protocol, the tarsnap client would be able to detect that there is no data at all, and then initialize the chunks directory based on that. |
This led to some mildly-frustrating usability problems for me. I'm using Tarsnap on two computers. The less-likely-to-be-hacked of the two has the entire key for the "machine" and the other -- the one that's actually being backed up -- has a write-only key for the "machine." I accidentally backed up too much data and figured it'd be easiest to lower my monthly bill by So I ran For a second I thought I was going to have to go through the whole key-generation process again (which would be problematic since I have the key backed up in hard-to-reach places), but I resolved it by copying the entire-key computer's cache directory to the write-key computer. Tarsnap would be better if this edge case was easier to deal with/recover from. |
Hi @defuse, Yes, it would be nice if we supported this case. On a slightly related note, we updated our docs about running Tarsnap on multiple machines a few days ago, primarily to add the "copy cachedir around" idea. I suspect that you might already know all this info, but just in case, it might be worth giving it a quick skim: http://www.tarsnap.com/multiple-machines.html |
It would be nice if we could do
without having a
tarsnap --fsck
in between those commands. (on a slightly related note, it would be nice if--nuke
and--fsck
finished quicker if there was no data in tarsnap; right nowfsck
takes 10 seconds. Although iffsck
is no longer required, that part is moot (or at least mooter)).The text was updated successfully, but these errors were encountered: