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.