Fastest way of moving data between two trueNAS systems?

Hi!

I have two trueNAS systems at the moment and want to condense both into one. My original setup was an old laptop with a single external HD and now i have turned my old desktop into a system. Since the new system has a larger pool I never considered just importing pool at the start and now i’m left with trying to find how to move all the data from the old system to the new one.

I have tried using the replication process and setting it up isn’t working. I would like to avoid using the smb shares to copy/paste using my computer because that’s how i added the data originally and that took forever (and i only had about half of the data i currently do!)

:open_mouth: We have a meme for that…
Then, you may just export the single drive pool (shutting down the laptop-NAS will do), plug it to your new desktop NAS, import the pool and move the data almost to your convenience.
I say “almost” because you have two choices:

  • CLI using cp or rsync; this lets you (re)organise the data as you see fit.
  • GUI with a manual replication task, which will maintain the data from laptopNAS in separate datasets, distinct from those of desktopNAS.
2 Likes

I did the export of the laptop, but when i added it to the desktop it imported as a separate pool and i’ve tried to snapshot and move the snapshot but it isn’t working x.x

Reading about rsync and that seems to be the best option, thank you!

Of course. You cannot add the drive to an existing pool without wiping all its data in the process :scream:
And replication wants to take over the whole target dataset. It won’t do a merge.

I kind of hoped it would import the pool into the new one - merging them - and not mount the external drive.

Now i’m waiting for the rsync to finish. Is there any command to check if it ran alright and to re-attempt any failed options? I can see on the shell some of the files have an error message, but would be quite hard to go file by file checking what has been copied and what wasn’t.

Run the command again with the -n and -v flags.

Were the errors about ownership and permissions?