Create a ZFS volume for Time Machine backup: Difference between revisions

From blinkenwiki

No edit summary
No edit summary
 
Line 1: Line 1:
* zpool create -o ashift=12 tank disk98 disk99
As root:
* zfs set canmount=off tank
 
* zfs create -V 2T tank/backup
<pre>
* sudo diskutil erasedisk jhfs+ Zealot GPT disk100
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
</pre>
 
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:
To reverse this:
* zfs destroy tank/backup
 
* zpool destroy tank
<pre>
zfs destroy tank/backup
zpool destroy tank
</pre>

Latest revision as of 01:30, 11 September 2021

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