Rsync of PBS datastore in USB disks.

Hello,
I have a PBS datastore located in the directory `/BACKUP/PBS` of my Proxmox PBS server.
If I rsync this directory in USB disks, is it possible to connect this rsync copy of the datastore to my PBS if I need it in the future?

If the answer is yes, how can I do it?

Thank you very much for your help.
 
yes, it should be possible, simply sync it back to a pbs instance (or mount it)
and point a new datastore to the path

no gui support for this though
(there are some plans for an 'import' 'export' feature, but no timeline yet)
 
Then the procedure for make the datastore in the USB disk available to PBS will be:
1. Mount the USB disk (for example, in /mnt/USB_DISK).
2. Create a new datastore using the next command: proxmox-backup-manager datastore create USB-DS /mnt/USB_DISK/PBS-VM
3. Access the datastore in the USB disk using PBS web interface.

Is it correct?

One doubt more, the command in stop 2 will detect that in the /mnt/USB_DISK/PBS-VM directory is already a PBS datastore and will not recreate it?
 
One doubt more, the command in stop 2 will detect that in the /mnt/USB_DISK/PBS-VM directory is already a PBS datastore and will not recreate it?
no actually for the moment you have to edit the file /etc/proxmox-backup/datastore.cfg manually
 
Ok, then by the moment, the correct procedure will be:
  • Mount the USB disk (for example, in /mnt/USB_DISK).
  • Create a new datastore manually modifying the file: /etc/proxmox-backup/datastore.cfg
Code:
datastore: USB_DISK
    path /mnt/USB_DISK/PBS
  • Access the datastore in the USB disk using PBS web interface.
Correct ?
 
  • Like
Reactions: takeokun

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!