getting ride of old snapshots
for i in `zfs list|grep $pool/$fs/$fs@$date/description+wildcard|cut -d" " -f1 -`;do zfs destroy $i;done
for i in `zfs list|grep $pool/$fs/$fs@$date/description+wildcard|cut -d" " -f1 -`;do zfs destroy $i;done
Vielen Dank an geht an die netten Zuhörer und Constantin Gonzales, von dem ich so schamlos geklaut habe.
Ps: Ihr könnt mir gern schreiben was ich alles falsch gemacht hab, bitte!
Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham