Subscribe to Mailing Lists     FAQFAQ    SearchSearch      Register  Log in to check your private messagesLog in to check your private messages    Log inLog in 
These forums brought to you by Backup Central, where we also have the Mr. Backup Blog, Mailing Lists, FAQs,
and Directories of Backup Software and Hardware
snapshot_root pruning
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rsnapshot
View previous topic :: View next topic  
Author Message
David Keegel
Guest





PostPosted: Thu Jan 28, 2010 3:36 pm    Post subject: snapshot_root pruning Reply with quote

On Thu, Jan 28, 2010 at 12:05:31PM -0800, David M. Besonen wrote:
Quote:
On 1/28/2010 9:06 AM, Helmut Hullen wrote:

Quote:
Hallo, David,

Du meintest am 28.01.10:

Quote:
Quote:
Or is - in your system - "daily" the lowest backup
job, don't you run an "hourly" backup?

Quote:
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
Back to top
David M. Besonen
Guest





PostPosted: Thu Jan 28, 2010 5:02 pm    Post subject: snapshot_root pruning Reply with quote

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

Quote:
On Thu, Jan 28, 2010 at 12:05:31PM -0800, David M. Besonen wrote:

Quote:
On 1/28/2010 9:06 AM, Helmut Hullen wrote:

Quote:
Hallo, David,

Du meintest am 28.01.10:

Quote:
Quote:
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
Back to top
Helmut Hullen
Guest





PostPosted: Thu Jan 28, 2010 10:42 pm    Post subject: snapshot_root pruning Reply with quote

Hallo, David,

Du meintest am 28.01.10:

Quote:
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
Back to top
David M. Besonen
Guest





PostPosted: Thu Jan 28, 2010 11:35 pm    Post subject: snapshot_root pruning Reply with quote

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

Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Backup Central Forums Forum Index -> Rsnapshot All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Magic SEO URL for phpBB