move proxmox backup to new serverver

Dzung

Well-Known Member
Feb 20, 2019
89
2
48
34
Hello!
I plan migrate proxmox backup to new server
this is my step:
Install new backup server
import pool zfs on new server
copy datastore.cfg to new server
change path to match mount point on new server
Are these steps possible?
I found same post on: https://forum.proxmox.com/threads/how-to-move-pbs-to-new-hardware.95599/ but on this post mountpoint is change to same old server, I'm trying to change the path instead of changing the mountpoint, so I don't know what the effect is?
 
Hello,

After you import the pool using "zpool import -f <PoolName>". To add the datastore again, you have to edit it manually because the old pool already contains the ".chunks". In this case, you have to edit the "/etc/proxmox-backup/datastore.cfg" in your new server and add the datastore like in the example below

Code:
datastore: name
        path /path/to/previous/ds


I would simulate the situation on a PBS as a VM before you do it in your real server to ensure everything is correct.