moving backup server

Zappy

Member
Mar 30, 2022
85
11
13
Hi ,
need to move backup server from server1 to server2
all my backup client point to pbs.mydomain.com (server1)

so here what i am planning :
  1. Install pbs on server2
  2. rsync data from server1 to server2
  3. shutdown server1 and rename/reip to server2
will all the API token move as well , or i need to move all the file in /eyc/proxmox-backup. as well ?
just want to verify if my plan make sense
 
rsync data from server1 to server2
Be careful not to break your datastores by it, at least stop the proxmox-backup systemd services so nothing writes to the datastore during the move. If you use ZFS create a snapshot of your datastore and copy it with zfs send/receive to ensure consistency. The best option for syncing data between two PBS btw is to just use the internal sync mechanism. Why don't you use that? It's propably more simple than any manual transfer method (be it zfs or rsync).

will all the API token move as well , or i need to move all the file in /eyc/proxmox-backup. as well ?

You will need to copy the content of /etc/proxmox-backup to have the same settings, so yes.
 
  • Like
Reactions: UdoB
Be careful not to break your datastores by it, at least stop the proxmox-backup systemd services so nothing writes to the datastore during the move. If you use ZFS create a snapshot of your datastore and copy it with zfs send/receive to ensure consistency. The best option for syncing data between two PBS btw is to just use the internal sync mechanism. Why don't you use that? It's propably more simple than any manual transfer method (be it zfs or rsync).
I think about that , but i was not sure if it act as a backup or as a replica
in the latter , this would be the best solution.
You will need to copy the content of /etc/proxmox-backup to have the same settings, so yes.
Thanks