SearchFAQMemberlist Log in
Reply to topic Page 2 of 2
Goto page Previous  1, 2
snapshot_root pruning
Author Message
Post snapshot_root pruning 
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

Post snapshot_root pruning 
On 1/28/2010 3:34 PM, David Keegel wrote:

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.

so you are disagreeing with Helmut's reply to this same
question? did you see his post?



-- david


------------------------------------------------------------------------------
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

Post snapshot_root pruning 
Hallo, David,

Du meintest am 28.01.10:

i'm realizing that i have not understood some of the nuances
of rsnapshot's managemant of hardlinks.

No - I describe either a scriptable solution or a (one time) manually
solution.
There's no relation to hardlinks.

Do you want an academical dispute or a technical solution?

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
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

Post snapshot_root pruning 
On 1/28/2010 10:22 PM, Helmut Hullen wrote:

No - I describe either a scriptable solution or a (one
time) manually solution.
There's no relation to hardlinks.

i understand now. sorry for my confusion, i was
misunderstanding why you were offering two solutions.

for now i think a manual solution will be adequate,



-- david


------------------------------------------------------------------------------
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

Display posts from previous:
Reply to topic Page 2 of 2
Goto page Previous  1, 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB