On 7/26/07, Steffen Kammerer steffen.kammerer@innosystec.de wrote:
Hi Toasters List,
we create manually snapshots to make backups if we deploy new software releases. Now I want to delete automatically all snapshots older than 6 hours, because of special restrictions.
I read the manual about snap autodelete but I cant find an option.
Has anyone experience in those things?
Currently the triggers for snapshot autodelete are:
volume: Whenever the volume is filling up snap_reserve: Whenever the snap reserve space is filling up space_reserve: Whenever space reserve (think fractional reserves) are filling up.
There currently is no timed snapshot autodeletion.
You could always use rsh/ssh and fetch the list of snapshots for the volumes concerned, calculate their age and then decide to delete them or not. This can be done by some shell or perl scripting.
Greets,
Nils