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
Anything worth pulling in from my fork? #1
Comments
Hey! Sorry, my email client ate the notification. This is a lot of really excellent work - thank you a million. I consider the tool feature complete, but this is exactly the kind of review, cleanup & polish it needed. I've cherry-picked the commits I liked (almost everything) and reverted only two lines - I find Are you currently using |
Only on my desktop. I run Linux (Arch) and my home directory is on a ZRAID pool of 3 SSDs. I started running my fork of |
Hey boys, im using your versions, actually @wezm one in production, instead of the official autosnap tools. I would only suggest only 1 improvement:
Now, actually this is a bit confusing: let's say i do: 7/week and 14/month, so you get of the last week 7 snapshots + 14daly snapshots per month. Doesn't that mean that i get simply the last 14 daily snapshots of the month? And the weekly variable can be ignored? That's what im finding a little confusing and where i think that the documentation needs a little improvement. Im running the utility about 4 days now, so i actually need to wait a bit to see what the actual behavior is with the weekly ones. So i thought to write here! |
Hi @Ramalama2, you should probably open a new issue for questions. I will close this one as after merging @wezm's changes the forks are pretty much identical (and he's kind enough to provide automated builds). Trying to answer your questions below:
The whole point of this utility is it does not differentiate, which snapshot is supposed to be "hourly" or "daily" - it just takes a snapshot whenever instructed to (e.g. by cron, anacron, systemd timer, manually, This is also why you do
The "weekly" retention policy does not mean "X daily snapshots in the last week", it means "consider the ISO week number and the the year as the bucket, limit the number of buckets to 7, put each snapshot into it's week's bucket, and keep 1 freshest snapshot from each bucket" - so with your policy ( I suggest that you turn off GC on your machine for a couple of days, weeks or months (as space allows), and run
Yes, as you may have noticed from the README, it's a quick & dirty rewrite of a quick&dirty old script that just happens to have caused exactly 0 data loss problems (and prevented MANY) in the 6+ years that I've been running it ;) I might eventually get to properly documenting and explaining this, but you are more than welcome to give it a try yourself. Closing the issue, if you'd like to follow up please open a new one (or feel free to email me). |
Thank you very much for explaining! Otherwise i do like the utility, it's great, thanks for the work and sorry for posting here 🙈 I can do the documentation pull request myself, in a month or so. |
Hi, I've made a bunch of tweaks in my fork of your project. I understand that I kinda went to town on the code so my changes might not align with your original goals. Nonetheless I tried to make the commits self-contained so if any of these are of interest to you let me know and I can raise one or more PRs.
(oldest first):
The text was updated successfully, but these errors were encountered: