Hi,
I've been trying to google this, but there's so much so please forgive if I didn't find the answer. I found this excellent guide of how to use zfs send/recv on my system GUIDE TO ZFS SEND/RECV LINK - however, I just need a bit extra clarification before I try it. My situation is that I'm running pfSense virtualized on my Proxmox-system which takes care of all my networking, internet etc and this is the output of "zfs list":
Here's where I need clarification in relation to GUIDE TO ZFS SEND/RECV LINK:
I've been trying to google this, but there's so much so please forgive if I didn't find the answer. I found this excellent guide of how to use zfs send/recv on my system GUIDE TO ZFS SEND/RECV LINK - however, I just need a bit extra clarification before I try it. My situation is that I'm running pfSense virtualized on my Proxmox-system which takes care of all my networking, internet etc and this is the output of "zfs list":
Code:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
backup_pool 148K 922G 24K /backup_pool
backup_pool/backupDataSet 24K 922G 24K /backup_pool/backupDataSet
rpool 244G 678G 104K /rpool
rpool/ROOT 10.4G 678G 96K /rpool/ROOT
rpool/ROOT/pve-1 10.4G 678G 9.65G /
rpool/data 134G 678G 96K /rpool/data
rpool/data/base-9000-disk-0 1.01G 678G 1.01G -
rpool/data/subvol-101-disk-0 6.79M 1.99G 6.79M /rpool/data/subvol-101-disk-0
rpool/data/subvol-102-disk-0 1.31G 7.14G 884M /rpool/data/subvol-102-disk-0
rpool/data/vm-100-disk-0 328K 678G 172K -
rpool/data/vm-100-disk-1 34.8G 678G 13.3G -
rpool/data/vm-123-cloudinit 216K 678G 72K -
rpool/data/vm-123-disk-0 88.5G 678G 84.3G -
rpool/data/vm-200-disk-0 76K 678G 76K -
rpool/data/vm-200-disk-1 8.13G 678G 8.13G -
rpool/data/vm-9000-cloudinit 88K 678G 72K -
rpool/turnkeyFileServerLXC 100G 678G 100G /rpool/turnkeyFileServerLXC
Here's where I need clarification in relation to GUIDE TO ZFS SEND/RECV LINK:
- Step 1: I don't think I should enable any kind of "maintenance mode" because then I suspect I would lose my internet and LAN connectivity and thereby lose my SSH-connection.
- Step 2: No questions, I've created
backup_pool/backupDataSet
as shown above... - Step 3: Create a snapshot. This is what's confusing me:
- The instructions says to use "
zfs snapshot -R YourPool/YourDatastoreDataset@move
" but I couldn't see what option "-R" does and why it's needed? Is this a mistake? - I think I need to reboot from a USB-disk and attach a keyboard + display and create the snapshot before fully booting up Proxmox, pfSense and everything else. I think I could then do: "
zfs snapshot -r rpool@move
" to recursively generate a backup of the whole rpool. Is this what I should do, because that's 244 GB?
- The instructions says to use "
- Step 4: Then I would do "
zfs send -R rpool@move | zfs recv backup_pool/backupDataSet
" and all 244 GB would be transferred. Is this correct?