How to migrate a Proxmox TrueNAS core VM to TrueNAS Scale on bare metal.

oldtechie

Dabbler
Joined
Feb 13, 2023
Messages
18
Hi All,
I currently have TrueNAS Core 13.0-U5.3 RAIDZ 54TB of storage running in a Proxmox VM.
The TrueNAS server is configured to handle backups for my Synology NAS and 8 desktops. I don't want to lose any data or have to recreate all my shares etc.
I want to install TrueNAS Scale on this server bare metal.
I want to install two new NVME drives, insert a USB stick with TrueNAS Scale, and do an install.
Will this work without losing my ZFS config? what about my users and services config?
I'm new to TrueNAS/ZFS and it took me a while to get the NAS configured stable, and it is working well.
I would like to get away from having two servers to update i.e. Proxmox/TrueNAS.

I would greatly appreciate any suggestions, or how-to's.
 

Darren David

Explorer
Joined
Feb 27, 2014
Messages
54
Jumping on this thread as I'm looking to do the same thing, more or less.

My TrueNAS Core installation is currently virtualized under ESXi (with all of the appropriate hardware passthroughs) and I'd like to move to Scale and get ESXi out of the picture to simplify things. I'm thinking that perhaps the right thing to do is:
  1. Export/backup TrueNAS Core settings
  2. Export my current ZFS pool
  3. Backup/image my current primary SSDs running ESXi just to be safe
  4. Install TrueNAS Core on bare metal SSDs
  5. Import ZFS pool
  6. Import/restore TrueNAS Core settings
  7. Do the upgrade to Scale
Does that sound like a sane approach?
 

oldtechie

Dabbler
Joined
Feb 13, 2023
Messages
18
Darren, I just moved my TrueNAS core VM to TrueNAS Scale bare metal.
Happy to say is all went well. Also, I reused my Proxmox server hardware for my TrueNAS server.
Here are my steps:
1. Made a backup of credentials (accounts).
2. I removed the NVMe boot drives and replaced them with 2 new NVMe drives. (This was an easy way to back up my Proxmox install.
The new drives were less than $50.00.
3. Made a USB bootable TrueNAS scale installation drive.
4. Did the installation of Scale.
5. After the installation, I uploaded the saved config file.
6. I Had to fix the network config since the restore also restored the VM network interface.
7. I then imported the ZSF pool.
All is good. It has been running for about 5 hours currently with no problems.
So, I thought about doing the upgrade from core to scale after installing it on bare metal, but since I saved the account info and all the Pool info is stored on the Pool disks I gave it a shot.
I hope this helps.





















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































2
 

Darren David

Explorer
Joined
Feb 27, 2014
Messages
54
Darren, I just moved my TrueNAS core VM to TrueNAS Scale bare metal.
Happy to say is all went well. Also, I reused my Proxmox server hardware for my TrueNAS server.
Here are my steps:
1. Made a backup of credentials (accounts).
2. I removed the NVMe boot drives and replaced them with 2 new NVMe drives. (This was an easy way to back up my Proxmox install.
The new drives were less than $50.00.
3. Made a USB bootable TrueNAS scale installation drive.
4. Did the installation of Scale.
5. After the installation, I uploaded the saved config file.
6. I Had to fix the network config since the restore also restored the VM network interface.
7. I then imported the ZSF pool.
All is good. It has been running for about 5 hours currently with no problems.
So, I thought about doing the upgrade from core to scale after installing it on bare metal, but since I saved the account info and all

Interesting. So you were able to directly restore a Core backup into a vanilla Scale install?
 

oldtechie

Dabbler
Joined
Feb 13, 2023
Messages
18
Yes.
Also, once I fixed my network config all my configured services restarted SMB, Rsync, SNMP, etc.
Just checked and all my client backups ran with no problems.
 
Top