Skip to content
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

Measurement fails when .snapshot_measurements.exclude does not exist #26

Open
grollinger opened this issue May 8, 2016 · 1 comment
Labels

Comments

@grollinger
Copy link

grollinger commented May 8, 2016

I recently adopted snazzer for keeping my btrfs snapshots.
Since I had several older snapshots that i created by hand, I wanted to import them into the snazzer .snapshotz directory.
These snaphots of course contain neither the .snapshotz directory nor .snapshot_measurements.exclude.

In principle, I could go through all the snapshots and add an empty .exclude file, but

  • That would be a bit of a hassle because they are read-only snaps
  • I'd rather not touch these, especially because they are already synced to other machines

Snazzer should be able to deal with a non-existent .exclude file (perhaps by replacing it with an empty dummy file...)

Alternatively, it would be nice to have a command snazzer import to properly import a manual snapshot.

@csirac2
Copy link
Owner

csirac2 commented May 13, 2016

Thanks @Rollingthunder, snazzer really needs some TLC and I intend to give it some soon :)

Appreciate the report. The measurements feature needs a rewrite, I need to have it just PGP sign a shasum rather than duplicate the work of signing the entire snapshot contents, etc.

@csirac2 csirac2 added the bug label May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants