Welcome! » Log In » Create A New Profile

Keep 30 daily 3 monthly backup

Posted by Anonymous 
Keep 30 daily 3 monthly backup
June 14, 2015 08:35AM
I would like to Keep 30 daily & 3 monthly backup.
How can I reach this setting?
Do I need to set at least 1 or 2 weekly backup?

Thanks,
Konrad Lorinczi
Keep 30 daily 3 monthly backup
June 14, 2015 08:49AM
--------------------------------------------
On Sun, 14/6/15, Konrád Lőrinczi <klorinczi < at > gmail.com> wrote:

Subject: [rsnapshot-discuss] Keep 30 daily & 3 monthly backup
To: "rsnapshot-discuss" <rsnapshot-discuss < at > lists.sourceforge.net>
Received: Sunday, 14 June, 2015, 11:33 PM

I would like to Keep 30
daily & 3 monthly backup.
How can I reach this setting?

Do I need to set at least 1 or 2 weekly backup?
-------------------------------------------------------
30 days and 3 monthly's will work fine.
You just need to modify your rsnapshot.conf and your crontab entries to correlate accordingly.

------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Keep 30 daily 3 monthly backup
June 14, 2015 08:58AM
On Sunday, June 14, 2015 11:33 PM, Konrád Lőrinczi wrote:
[quote]I would like to Keep 30 daily & 3 monthly backup.

How can I reach this setting?
Do I need to set at least 1 or 2 weekly backup?
[/quote]
Something like this in the config file?

retain daily 30
retain monthly 3

The names (daily, ...) do not really matter but the order *does*. Try do
a "man rsnapshot" and search for "retain".

Regards,
ST
--

------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Keep 30 daily 3 monthly backup
June 14, 2015 09:23AM
Thanks very much for all answers!
Now it is clear, that any kind of strings could be used.
So I can safely comment out the weekly one in rsnapshot.conf and ignore the weekly call in cron.d/rsnapshot.

Thanks again,
Konrad Lorinczi
2015.06.14. 17:58 ezt írta ("Benedikt Heine" <benedikt < at > heine.rocks>):[quote]Hi Konrad,

[quote]On June 14, 2015 at 5:33 PM Konrád Lőrinczi <klorinczi < at > gmail.com ([email]klorinczi < at > gmail.com[/email])> wrote:
I would like to Keep 30 daily & 3 monthly backup.
How can I reach this setting?
[/quote]
If you want to have 30 daily and 3 monthly backups, then use: (replace the
spaces with tabs)

retain daily 30
retain monthly 3

[quote]Do I need to set at least 1 or 2 weekly backup?
[/quote]
No, you don&#39;t have to have 3 backup-levels neccessarily. rsnapshot is
capable of handling any amount of backup-levels. For example you could
also define things like this:

retain alpha 5
retain beta   5
retain gamma 7
retain delta 3
retain epsilon 5
retain zetta 7

This retain-scheme make sense, but it just should show you, that rsapshot
can handle about an infinite amount of intervals.

~ Bene
[/quote]
Keep 30 daily 3 monthly backup
June 14, 2015 10:16AM
Hallo, Konrád,

Du meintest am 14.06.15:

[quote]I would like to Keep 30 daily & 3 monthly backup.
[/quote]
It's better to use 31 daily backups (named daily.0 ... daily.30); when
"monthly" is invoked then it renames daily.30 to monthly.0

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login