-
Notifications
You must be signed in to change notification settings - Fork 259
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
how to use newest snapshot instead of oldest in rotation? #100
Comments
Mhmm. That's a good question. TBH I can't answer this right now perfectly. I'm quite fresh to the rsnapshot sourcecode.
I added the link in the project-description. Use rsnapshot-discuss (sadly we are still on sourceforge with the mailinglists.) In general, there are a bunch of experienced people around there. |
Please let this bug report open and post your solution, if you'll get one. Maybe we have to "convert" this bug report into a feature request 😉 |
I did not receive git mail after your reply sorry. Suscribing now to the list |
Did this make it to the mailing list?
That's correct. I guess the thinking is, in theory you have the first month in fine resolution already.
You won't have to host twice full data even if you did use two config files. The rotation stuff is fairly trivial (AFAIK). You could also just do what rsnapshot does yourself. Rsnapshot does this:
You do this straight after the sync every month (Making sure your locking not stepping on rsnapshots toes):
|
I'd really like to have this feature also. |
If I try to make a patch for this will someone integrate it? A bit of the point of using rsnapshot is to avoid the possible bugs while implementing rotation once again manually... |
Hello,
When using tool to make backup, we generally want something like:
-1 backup per day (let's say 7 for 1 week)
-1 backup per month (first or last day of month, choose date)
As far as I understand, rsnapshot will rotate the oldest per day backup to make the first per month backup. So I won't have a monthly backup that match what was present on 1st day of the month (or whatever day I started rsnapshot with monthly argument).
I could use 2 specific config files so they ignore each other but I won't have benefit of hardlink between the two (and so basically host twice full data).
Anyway to achieve that?
I know it's question and not directly issue but couldn't find a support mailing list from here.
Thanks in advance,
Mathieu Chateau
The text was updated successfully, but these errors were encountered: