[SOLVED] Moved Datastore to remote PBS server via ZFS Pool Split

dbayer

Renowned Member
Apr 15, 2016
69
8
73
54
Hi Everyone,

I just wanted to let everyone know about the method I used to seed the Datastore on a remote Server.

Overview of setup

1. Local Server has 2 ZFS Datapools - Data Pool (dpool) and the Backup Pool (bpool)
2. bpool is made up of a mirrored pair of drives.
3. The BPS datastore is on bpool
4. Do an initial backup of the local server.
5. Now split bpool
A. COMMAND: zpool split bpool bpool2 (reference: https://docs.oracle.com/cd/E19253-01/819-5461/gjooc/index.html)
B. Physically remove the hard drive(s)
6. Bring Hard Drives to remote server
7. Import the pool
A. COMMAND: zpool import bpool2 bpool
8. Edit /etc/proxmox-backup/datastore.cfg
A. add lines
datastore: store-name
path /bpool/path/to/store
9. Edit the owner file for each VM.
A. /bpool/path/to/datastore/vm/#/owner
B. Change the owner to backup@pam
10. Setup a Sync job per PBS Documentation.
11. If you have not done another backup on the local server, the sync job should finish in seconds, because you have identical data on both!
 
  • Like
Reactions: Stefan_R

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!