The easiest[1] solution would be hook up both systems to the same switch and replicate your data to the new NAS with a remote replication task:
Carefully read over the possible settings, especially you’d want to pay attention to full filesystem replication and set readonly to ignore.
Have a look at the page and familiarize yourself with the process. Maybe create test dataset on the old system and replicate that and see how it goes.
When setting up the snapshots and replication tasks, I prefer to do it per dataset and not just replicate the whole pool at once.
The quickest solution would be to just swap out the hard drives and import the pool in the new system, but then you’d miss out on the upgrade (5x4 TB to 6x6 TB). ↩︎
The replication ran for about 3 hours (about 5%) then failed with…
Full ZFS replication failed to transfer all the children of the snapshot homeArchive@blahblahblah. The error was: cannot unmount ‘/var/db/system/syslog-blahblahblah’: pool or dataset busy Broken pipe.
My System Dataset is located on: homeArchive.
Underneath that, I have several other datasets in a folder structure. However, my Periodic Snapshot Task takes a snapshot of homeArchive (with recursion), not of the child datasets directly.
Do I need to make sure there are no other tasks running before I can replicate?
Cheers,
Edit – won’t a Full System Pull delete my system dataset and my user information?
Edit 2 – I think I’m on the right track. I ran a new set of Snapshots on the old server last night and then modified the Replication task this morning. It’s about 65% complete.
The new Replication task replicates datasets below my root folder (i.e., not including the System Dataset). When I tried to do this before I ran into an error. Even though I had created Periodic Snapshots, the status indicated “Pending” rather than “Finished”. Consequently, the Replication task said it couldn’t find the snapshots. But today, after creating new snapshots last night, Replication seems to be working.
Edit 3 – Replication seems to have worked. I’ll mark this thread solved after I have had a chance to test the datasets and verify they actually contain data.