
What about rotating larger intervals automatically?
In the thread "Patch to run all intervals in one go" I already proposed a similar scheme,
ie only one cronjob for all intervals:
http://sourceforge.net/mailarchive/forum.php?thread_name=201106071217.02477.rolf.muth%40web.de&forum_name=rsnapshot-discuss
In the meantime, I have implemented the feature of setting arbitrary interval durations.
Besides the original interval/retain syntax,
you can add a fourth column with a time specification.
Example for an hourly run:
interval alpha 24 hourly
interval beta 7 24h
interval gamma 4 7days
interval delta 12 monthly
The command is named "all".
In a different thread someone also proposed "auto".
If there is consent that this makes more sense,
I can easily change the command name.
See the attached patch against 1.3.1
plus the patched 1.430 from CVS - it applied cleanly and works.
Hope this helps,
Peter Klausner
-----Original message-----
Von: "Marc Weber" <marco-oweber < at > gmx.de>
Gesendet: 23.06.2011 03:24:39
An: rsnapshot-discuss <rsnapshot-discuss < at > lists.sourceforge.net>
Betreff: [rsnapshot-discuss] What about rotating larger intervals automatically?
Still wondering why I should have to think about cron jobs that much..
What about introducing an "auto call next larger intervall backup"
feature?
Example 1:
# rotate 10, before doing rotation 20 rotate "seldom" once
retain often 10 20
# keep 5 snapshots which are rotated seldomly
retain seldom 5
Example 2:
retain 2days 2 2
retain 4ays 2 2
retayn 8days 2 2
then rsnapshot 2days would rotate everything in binary counting manner
automatically paying attention to order.
Implementation would be trivial: Keep a total rotations done counter and
if it can be divided by the second number rotate the next larger
interval first.
Deos this make sense?
Marc Weber
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
http://sourceforge.net/mailarchive/forum.php?thread_name=201106071217.02477.rolf.muth%40web.de&forum_name=rsnapshot-discusshttp://sourceforge.net/mailarchive/forum.php?thread_name=201106071217.02477.rolf.muth%40web.de&forum_name=rsnapshot-discussPatch to run all intervals in one goPatch to run all intervals in one go
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut!
http://produkte.web.de/go/toolbar
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss