moving to another PBS server

flexyz

Renowned Member
Sep 22, 2016
154
10
83
55
Hi

What is the steps/procedure moving from one PBS to another PBS server?

1. copy all datastores and create with same names
2. move license
3. update fingerprint?

Thanks
Felix
 
Hi,

1. copy all datastores and create with same names
yes, can be done with datastore sync, that way you can reduce downtime if that's important (sync now, then stop new backups jobs, final sync and switch)

2. move license
Proxmox Backup Server uses the open source AGPLv3 as license, so that needs no moving.
But the Support Subscription needs to be re-issued (see shop or ask reseller) and added to the new instance.

3. update fingerprint?
Yes, at least if it's not using a trusted certificate where fingerpint may not be required in the first place.
Also ensure that address and access credentials are updated, if those changed.
 
  • Like
Reactions: Moayad
In my case the backups are located on a NFS storage - is the datastore sync still necessary?

I try to move my PBS from a separate host to a lxc hosted on another proxmox instance and simply reattach the nfs storage.
Is there a way to copy all configuration to the new lxc container or will I have to treat this as a new separate instance and sync it properly?
 
The actual data is all contained on the datastore directory, so you should be able to copy over the relevant entry of the /etc/proxmox-backup/datastore.cfg, just ensure to update the path.

The plain minimum would look like:
Code:
datastore: foo
    path /mnt/foo

You could do similarly for prune/sync job's in their respective config file, but it may be safer to re-create in the GUI/API after the datastore was moved, as manually editing config files should be limited to a minimum.