On Thu, Jan 28, 2010 at 12:05:31PM -0800, David M. Besonen wrote:
On 1/28/2010 9:06 AM, Helmut Hullen wrote:
Hallo, David,
Du meintest am 28.01.10:
Or is - in your system - "daily" the lowest backup
job, don't you run an "hourly" backup?
yes, in this system daily is the lowest.
Ok - then you need in this special case two "rollbacks". A
very simple script may do the job.
- delete (or first rename) daily.0
- renumber daily.1 to daily.x
- if first renamed: delete
to make sure i'm understanding, your above example is
describing the following:
daily.0 -> delete
daily.1 -> delete
daily.2 -> rename to daily.0
daily.3 -> rename to daily.1
daily.4 -> rename to daily.2
daily.5 -> rename to daily.3
correct?
Yes, that looks good to me.
(You would also want to rename daily.6 -> daily.4 if you have daily.6.)
If you wanted to you could rename daily.0 and daily.1 to something
different (not daily.?) and delete them later at your leisure.
For example, if you wanted to double check that rsnapshot has
not run since you started looking at this issue (if it did, then
those directories may have been rotated since you last looked).
--
___________________________________________________________________________
David Keegel <djk < at > cybersource.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
