DragonFly users List (threaded) for 2010-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Snapshots ordering on slave and pfs according to freequency for snapshot management
:All I need is to figure out how to remove the 5mins snapshots that
:gets mirrored on the slave older than two days with out removing the
:daily snapshots.
:
:But I am a bit confused now since I dont see snapshots actually
:removed after a hammer cleanup.
:I will send the details with a new subject
:
:thanks
:
:--Siju
hammer cleanup only removes snapshots over X days old. It can't
distinguish between fine-grained and coarse-grained snapshots
that you explicitly tell hammer to make. You would have to remove
those yourself (if you want to expire them before the X days)
using hammer snaprm.
You can script it fairly easily by setting the comment field for
each snapshot you take, then filtering out the list based on that.
See the manual page.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]