ZFS Backup - jonatello/lab-musing GitHub Wiki

Backing up ZFS pools can be accomplished in many ways. In this case I will be backing up a pool to a remote system which is utilizing a single disk as a backup pool.

We first need to create the pool on the remote system to be composed of our single disk (da1)

zpool create backup /dev/da1

We can now view the pool with the following

df

We now need to create a dataset on the pool with compression enabled

zfs create backup/compressed

zfs set compression=gzip backup/compressed

Our destination for backups is now configured.