| 1 | = FreeBSD ZFS Backup & Restore Full Instructions = |
| 2 | |
| 3 | Ok in my search for a way to shrink a zfs partition (which you can not do) I found a bunch of articles on the FreeBSD website. |
| 4 | |
| 5 | I appreciate all the information on "how to" backup a zfs volume and the restore it on another drive fully in tact. |
| 6 | |
| 7 | Issue is the restore part was way more complicated trying to use the "LiveCD" |
| 8 | |
| 9 | That being said here is how you do it. |
| 10 | |
| 11 | * You can backup to a network share or a portable usb drive |
| 12 | ** Drive or network share must be the same size or larger of the size of data. |
| 13 | ** Example if you are backing up a 2TB system you will need an external 2TB drive |
| 14 | ** Or 2TB avaliable on the nfs network share |
| 15 | |
| 16 | * Next you need to consider the following |
| 17 | ** FreeBSD Live CD does not allow mounting of zfs pools etc (which you dont want anyways for a restore) |
| 18 | ** Once logged into the LiveCD you WILL need to '''zfspool import zroot''' |
| 19 | ** It will not mount but it loads the drivers to access the volume |
| 20 | |