|
|
@ -10,6 +10,7 @@ |
|
|
+ [Windows](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#windows) |
|
|
+ [Windows](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#windows) |
|
|
+ [Data Recovery](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#data-recovery) |
|
|
+ [Data Recovery](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#data-recovery) |
|
|
+ [QEMU](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#qemu) |
|
|
+ [QEMU](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#qemu) |
|
|
|
|
|
+ [ZFS](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#zfs) |
|
|
+ [Random Other Things](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#random-other-things) |
|
|
+ [Random Other Things](https://git.laurelcountycorrections.org/jpickard/cheat-sheet/src/branch/master/README.md#random-other-things) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -335,6 +336,26 @@ Clone Disk A to Disk B: |
|
|
## Convert VHDX to qcow2 |
|
|
## Convert VHDX to qcow2 |
|
|
`qemu-img convert -O qcow2 /data/source.vhdx /data/output.qcow2 -p` |
|
|
`qemu-img convert -O qcow2 /data/source.vhdx /data/output.qcow2 -p` |
|
|
|
|
|
|
|
|
|
|
|
# ZFS |
|
|
|
|
|
## Fast ZFS Send with Netcat |
|
|
|
|
|
Receiver: |
|
|
|
|
|
`nc -w 120 -l -p 8023 | zfs receive zones/UUID` |
|
|
|
|
|
Sender: |
|
|
|
|
|
`zfs send zones/UUID@snapshot | nc -w 20 RECEIVERIPADDRESS 8023` |
|
|
|
|
|
If Incremental: |
|
|
|
|
|
`zfs send -i zones/UUID@snapshot1 zones/UUID@snapshot2 | nc -w 20 RECEIVERIPADDRESS 8023` |
|
|
|
|
|
|
|
|
|
|
|
## Take snapshot |
|
|
|
|
|
`zfs snapshot jailtracker/vm-2023-disk-2@2.8.24` |
|
|
|
|
|
|
|
|
|
|
|
## Destroy snapshot |
|
|
|
|
|
`zfs destroy jailtracker/vm-2023-disk-2@2.8.24` |
|
|
|
|
|
|
|
|
|
|
|
## Rollback to snapshot |
|
|
|
|
|
`zfs rollback jailtracker/vm-2023-disk-2@2.8.24` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Random Other Things |
|
|
# Random Other Things |
|
|
|
|
|
|
|
|
QR of WiFi |
|
|
QR of WiFi |
|
|
|