| View previous topic :: View next topic |
| Author |
Message |
David Keegel Guest
|
Posted: Thu Jan 28, 2010 3:36 pm Post subject: snapshot_root pruning |
|
|
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
|
Posted: Thu Jan 28, 2010 5:02 pm Post subject: snapshot_root pruning |
|
|
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
|
Posted: Thu Jan 28, 2010 10:42 pm Post subject: snapshot_root pruning |
|
|
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
|
Posted: Thu Jan 28, 2010 11:35 pm Post subject: snapshot_root pruning |
|
|
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 |
|
 |
|