====== ZFS - Snapshots - Send and Receive a Snapshot ====== ZFS snapshots of a filesystem can be: * Sent to a file or to another machine. * Received from another machine. **NOTE:** This is great for backups or sending copies over the network (e.g. using ssh) to copy a file system. ---- ===== Take a snapshot and save it to a file ===== sudo zfs snapshot -r testpool/projects@snap2 sudo zfs send testpool/projects@snap2 > ~/projects-snap.zfs ---- ===== Receive a snapshot ===== To receive back from the saved file: sudo zfs receive -F testpool/projects-copy < ~/projects-snap.zfs