-
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
attic-mount misses files that can be extracted through attic-extract #382
Comments
Hmm, does this happen with other dotfiles also? |
Hello Thomas, attic create $ARCHIVE / /media/sync ... --do-not-cross-mountpoints where /media/sync is a mountpoint of some device (Do I have to add a trailing slash to '/media/sync' to make sure it is added?). When inspecting the deduplicated sizes of the recent archives through attic info, I can see a significant increase in the size of the latest archive (which is supposed to contain the newly added directory, which is not visible in the mounted archive) and given the fact that I can extract them from the archive, I guess that they are actually there. The only issue seems to be that they are not visible when using attic-mount... |
Can you write a minimal script that reproduces this?
It would be nice if the upper directory is not /, but something like "input" or "/tmp/input", mount point should be "mnt" or "/tmp/mnt". You can use sudo and mount -t tmpfs. "touch filename" to create empty files. |
Hey Thomas,
Note that changing the backup line to I went back to my server and checked the order of the directories there and indeed, the parent directory was also last there. |
@tobiaslangner borg dev @enkore could find / fix it (in borg, but you could use same patch for attic I guess), see the link to the closed issue right above your post. |
Recently, I wanted to check that some newly added files are present in my latest attic backup and to that end mounted the latest backup to a local directory (
attic mount
). To my surprise, the files in question where not present in the mounted archive. I picked one particular file that should have been present and tried extracting it throughattic extract
and to my even greater surprise, the file was extracted correctly. Here is the exact series of commands I entered (as root user):I expected that both methods allow me to access said file. If this is the case, then something is wrong and should be fixed, as
attic mount
is my preferred way to verify that certain files have properly been backed up.Let me know if I can provide additional information or assist in any other way.
The text was updated successfully, but these errors were encountered: