On Fri, Oct 21, 2011 at 04:50:24PM +0200, Leon Meßner wrote: > Hi, > im currently trying to setup amanda to backup a ZFS. I noticed that if > the backup level gets not bumped, then amanda just creates a new > snapshot and renames? it to the old one. This forces one to do a > complete restore instead of just using the snapshot. > I did set the KEEP-SNAPSHOT property of amzfs-sendrecv to YES.
The line in amzfs-sendrecv which is responsible for this is: amzfs-sendrecv: 225 # destroy all snapshot of this level and higher 226 $self->zfs_purge_snapshot($level, 9); Is there a way to check if the snapshot that would be deleted is still on any tape ? I had a look into lib/perl5/site_perl/5.14.1/Amanda/Application/Zfs.pm but couldn't find any function that help with that. BTW this is on amanda 3.2.2. I tried upgrading but then local auth stopped working. Have there been changes in said files in-between? thanks, Leon