PBS initial offline sync

GabrieleV

Renowned Member
May 20, 2013
56
6
73
Hello,
I wish to "seed" a remote PBS instance using an external media, because the online Sync job via WAN takes forever.
Successive daily syncs will work in a decent time...
Is it possible ?

Thank you,
 
why not ? (not detailled instructions) :
make your datastore on your external drive.
sync this new datastore from your local datastore.
once your external datastore is at remote site
do a new Sync Job from the the datastore of the remote site from the external datastore.
 
  • Like
Reactions: ph0x
As gabriel said, you can just mount an external drive, create a Datastore there and sync the current datastore to the external one.

Remember that you can sync a local datastore to another local one by creating a Remote with host localhost .

Once you have synced the whole datastore on the external disk, mount the disk on the 'new' PBS (like for example at /mnt/datastore/ds-external ) and add the datastore by adding the following lines to the file /etc/proxmox-backup/datastore.cfg :

Code:
datastore: ds-external
    comment Datastore on external disk
    path /mnt/datastore/ds-external

Now you can sync the data from the external datastore back to the local datastore in the same way as before.
 
As gabriel said, you can just mount an external drive, create a Datastore there and sync the current datastore to the external one.

Remember that you can sync a local datastore to another local one by creating a Remote with host localhost .

Once you have synced the whole datastore on the external disk, mount the disk on the 'new' PBS (like for example at /mnt/datastore/ds-external ) and add the datastore by adding the following lines to the file /etc/proxmox-backup/datastore.cfg :

Code:
datastore: ds-external
    comment Datastore on external disk
    path /mnt/datastore/ds-external

Now you can sync the data from the external datastore back to the local datastore in the same way as before.
I'll give it a try !
 
but could I mount this "external" datastore on different servers? wasn´t there a kind of encryption key?
 
Is it a bad idea to tar or rsync the local datastore to an external media, and back on the remote datastore ?
In that way, I have not to use temporary sync jobs.
 
but could I mount this "external" datastore on different servers? wasn´t there a kind of encryption key?
no problem to mount a non encrypted datastore on another server, i do that each month, to local verify a remote datastore.
 
Is it a bad idea to tar or rsync the local datastore to an external media, and back on the remote datastore ?
In that way, I have not to use temporary sync jobs.
sync job will do same job as rsync, even faster irrc
 

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!