Freebsd zfs snapshots: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „=Sls -l .zfs/snapshot/napshot anlegen= *zfs snapshot storage/misc@2021-08-26 =Snapshots anzeigen= *ls -l /mnt/misc/.zfs/snapshot/ =Snapshot löschen= *zfs dest…“)
 
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
=Sls -l .zfs/snapshot/napshot anlegen=
+
=Snapshot anlegen=
 
*zfs snapshot storage/misc@2021-08-26
 
*zfs snapshot storage/misc@2021-08-26
 
=Snapshots anzeigen=
 
=Snapshots anzeigen=
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