Create a ZFS volume for Time Machine backup

From blinkenwiki

Revision as of 01:30, 11 September 2021 by Blinkenjim (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

As root:

zpool create -o ashift=12 tank disk98 disk99
zfs set canmount=off tank
zfs create -V 2T tank/backup
diskutil erasedisk jhfs+ Zealot GPT disk100

At this point, Time Machine may ask if you want to use the new volume for backups. It's OK to say Yes and to choose the encrypt option.


To reverse this:

zfs destroy tank/backup
zpool destroy tank