mirror of
https://github.com/hukl/freebsd-toolbox.git
synced 2025-11-20 03:08:43 +01:00
Update commands.md
This commit is contained in:
@ -49,7 +49,7 @@ zfs rollback <pool>/<dataset>@name # rollback of a dataset to a given snaps
|
|||||||
zfs destroy <pool>/<dataset> # destroy a dataset / remove it from the pool
|
zfs destroy <pool>/<dataset> # destroy a dataset / remove it from the pool
|
||||||
zfs destroy <pool>/<dataset>@name # destroy a snapshot
|
zfs destroy <pool>/<dataset>@name # destroy a snapshot
|
||||||
zfs set <key>=<val> <pool>/<dataset> # generic way of setting options on a given dataset
|
zfs set <key>=<val> <pool>/<dataset> # generic way of setting options on a given dataset
|
||||||
zfs set compression=lzjb tank/var/log # enable LZJB compression on /var/logs
|
zfs set compression=lz4 tank/var/log # enable LZ4 compression on /var/logs
|
||||||
zfs get compressratio <pool>/<dataset> # show the current compression ratio of a dataset
|
zfs get compressratio <pool>/<dataset> # show the current compression ratio of a dataset
|
||||||
zfs send -R tank@snapshot | \ # send all datasets@snapshot recursively to another host
|
zfs send -R tank@snapshot | \ # send all datasets@snapshot recursively to another host
|
||||||
ssh root@[IP] zfs recv -F tank
|
ssh root@[IP] zfs recv -F tank
|
||||||
|
|||||||
Reference in New Issue
Block a user