FreeNAS to PBS migration

Klug

Well-Known Member
Jul 24, 2019
72
5
48
52
Hello all.

My PBS is currently a VM (running on my Ceph Proxmox cluster) and backups happen on a FreeNAS NFS share.
It's not fast (at all) and the more backup I have, the more garbage collector takes time (soon 20 hours).

My FreeNAS boots on a pair of RAID1 SSD, I'm contemplating the idea of formating this boot volume and installing a genuine PBS instead.
Then import the ZFS volume.
And then configure PBS so the datastore points to the old NFS share (but locally this time).

Is this possible?
I mean, will PBS find out there's already data in the datastore and reuse them?
 
I mean, will PBS find out there's already data in the datastore and reuse them?
Yes, but you will have to edit the /etc/proxmox-backup/datastore.cfg file manually IIRC. To keep the other settings for the datastore as well, it is probably the best to copy the current datastore.cfg and to adapt the path to where you import the pool.
 
Once posted, I also thought about the PBS key (encryption).

Is there a CLI tool/script to export everything needed to move/rebuild PBS to another VM/server?
Or maybe the easiest way would be to backup/clone PBS (with clonezilla or why not VeeamAgent or another solution) and restore it to the boot volume?

Yes, but you will have to edit the /etc/proxmox-backup/datastore.cfg file manually IIRC. To keep the other settings for the datastore as well, it is probably the best to copy the current datastore.cfg and to adapt the path to where you import the pool.

The old PBS VM will still be there (on the Ceph volume), I'll be able to get anything needed out of it.
 
Last edited:
Once posted, I also thought about the PBS key (encryption).
I haven't migrated a PBS install myself so take this with a grain of salt and test it yourself. But everything that might be interesting such as datastore config and users should be present in the /etc/proxmox-backup directory.

The encryption, as far as I understand, is handled on the client side.

If you keep the same IP/Name you probably don't need to adjust the storage config on your PVE node.
 
Encryption is client side, you're right.
I was thinking of the fingerprint that is linked to the PBS (proxy.pem and proxy.key).

Copying the whole /etc/proxmox-backup folder and keeping IP/name seems the way to go.
 
I was thinking of the fingerprint that is linked to the PBS (proxy.pem and proxy.key).
Or you could update the fingerprint of the new install on the PVE node in the /etc/pve/storage.cfg file.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!