-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add option to create full backups instead of per-target #44
Conversation
I understand what you're trying to accomplish with this patch, but I wonder whether it's possible to accomplish this without such an invasive modification (it provides an option that completely changes the behaviour of the single most important option). Just brainstorming here: what about null-mounting the paths you want?
And then just back up |
Unfortunately, Anyway, I thought of emulating your TBH, I feel that's an awful lot of complexity to force upon the user. Using the fullbackups approach, however, would be dead simple, and has a few other advantages:
Fun fact: to me, learning that ACTS implements a "one archive per directory" approach was a surprise. I can't think of a use case where that approach offers substantial advantages over the "one archive per run containing whatever directories you had configured at the time", so it felt like an arbitrary choice. Disclaimer: I'm no expert in either backup systems or Linux. |
Thanks for the PR. However I also have reservations about it. The reason for per-directory backups: When I wrote acts, the use-case was backing up configuration and state on servers. There were only a few paths I cared about (etc and var, mostly) -- that's where the initial "whitelist" approach came from. I agree that for desktop backup, a "blacklist" approach makes more sense. My general reservations for any change: acts is a relatively mature tool, and I've always seen it as more like Latex which became "more finished" over time, instead of more typical software which gets "more better" over time. Backup software should be simple and reliable. My specific reservations for this change:
In my mind, the benefits are not large enough to justify this feature. Where this change would work: I think you are right -- full server backup is a more natural fit for desktop use cases, and probably many server use-cases now too. It's also simpler to implement, if you removed per-directory workflow from acts you would end up with something much smaller and easier to configure. So why not consider that? Fork acts and give it a new name. Pull out the per-directory logic and start over with something simpler. |
Thanks for the explanations, @alexjurkiewicz! I understand your reasoning. Usually, my approach is "avoid forking, make the upstream project more versatile instead". But you convinced me that in this case, doing so would do more harm than good. I'll go ahead and give my fork its own identity and focused direction. Thanks again to you and @assistcontrol for the quick reactions and taking the suggestion seriously (despite ultimately rejecting it). In my experience, both things cannot be taken for granted :-) |
Once you have the fork up and running, let us know. I’d like to be able to link to it from the FAQ. |
@assistcontrol, the fork is ready: CalSnap. Thanks again! |
My hand-crafted tarsnap script used one archive per run, so I wanted to keep it that way when I switched to ACTS.
This PR adds that option, but keeps the existing behavior as the default.