Migration Core to Scale and Replication tasks

Hi all

Another topic for today. As I plan to migrate my Core 13.0 to Scale.

My setup is one main server and a backup server
Every dataset is snapshoted and replicated from main to backup every night. the snapshot is also kept on the main.

Transport between both server : SSH+NETCAT

1- Will these automated replication/snapshot task will still work after migration ?
2- Should I migrate both server ? or will it work if the backup server is still Core 13.0 (so I can migrate it later when I’m confident with the main server migration process)
3- After migration will those task firstly replicate the whole data (replication from scratch) or still as usual only new and changed data ?

Thanks for helping

Nicolas

  1. yes: replication task will be imported, and i assume you are pushing from the source to the target

Every dataset is snapshoted and replicated from main to backup

so also the same key-credential (probably you are using root on core right?) will continue work.

  1. untill you don’t need to pull from the backup in Core, you shouldn’t have the need to sidegrade the backup system too so soon. There is a bug in Core that will be never resolved that will force every ssh connection only via the root account, and in CE you will disable it and instead use another admin account (pay attention on this step during the sidegrade, at the time give me some headache due to my lack of Linux knowledge :smile: )

  2. you don’t need to start from scratch, everything should go as always

Hi @oxyde

Thanks for your reply
Yes In Core every admin task is done with root. As I understood, at the time, it’s more about something in freebsd.

And yes I push to the target.

I certainly will run a test setup with CE (scale) before attempting migration. So i’ll be more familiar with this new version and linux.

Thanks
Nicolas

1 Like

You could upgrade your backup server to TrueNAS CE and setup a PULL replication using a dedicated user you created on the source machine. Once that’s all in place and you’re happy then you could upgrade your primary.

1 Like

If you haven’t already it might be worth just checking that everything you currently do with your TrueNAS works as excepted on TrueNAS CE. Especially any potential configuration changes you may or may not have made.

Hi @Johnny_Fartpants

yes it’s why i’ll certainly run a test setup with a similar workflow before migration.

I only use Truenas as a file server (SMB shares for Mac Os clients). I don’t use plug ins, jails or vm.

Thanks

1 Like

Using the 24.05 version of scale (which had the user ‘admin’ instead of root) I found it impossible to set up pull or push replication task with a Core (13.1) server, as I could not set up an SSH connection with Core server, because the Scale server was unwilling or unable to use the root account on the Core server. Did I do something wrong? I haven’t revisited the problem, just set the tasks up on Core, which did know how to use the remote sudo user.

Give this a shot @rogerh and let me know how it goes.

Thanks. I’ll give it a go. I’m not sure why I couldn’t replicate from Scale to Core, it seems to be a GUI problem rather than an SSH limitation.