Freebsd zfs snapshots: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 5: Zeile 5:
 
=Snapshot löschen=
 
=Snapshot löschen=
 
*zfs destroy storage/misc@2021-08-26
 
*zfs destroy storage/misc@2021-08-26
 +
=Delete all snapshots=
 +
*zfs list -H -o name -t snapshot | xargs -n1 zfs destroy

Aktuelle Version vom 20. Juni 2022, 14:05 Uhr

Snapshot anlegen

  • zfs snapshot storage/misc@2021-08-26

Snapshots anzeigen

  • ls -l /mnt/misc/.zfs/snapshot/

Snapshot löschen

  • zfs destroy storage/misc@2021-08-26

Delete all snapshots

  • zfs list -H -o name -t snapshot | xargs -n1 zfs destroy