How can I attach a Datastore Backup from a USB Hard Drive to Copy to New Datastore?

dmarc2024

New Member
Dec 6, 2024
7
1
3
Hey All -

I needed to redo my PBS install - I backed up the old install by creating a localhost remote, attaching the USB Drive and creating a sync job - all the data and namespace info is on the USB and I can see it from the shell by going to /mnt/backups.

My question is, how do work this in reverse to now mount the USB Datastore backup and move its contents to the new datastore which is on freshly formatted drives?

If I try to attach the backup datastore and provide a "backing path" it complains that chunks already exist and stops.

Thanks

EDIT- I was able to mount the USB and then add the path and information back into /etc/proxmox-backup/datastore.cfg and it reappeared in the GUI.

datastore: backupUSB
comment
gc-schedule daily
notification-mode notification-system
path /mnt/backup

and then create a sync job and run it and all is back on the new datastore on the new PBS.
 
Last edited:
In PBS 3.3 there's a checkbox Reuse existing datastore which is meant to do just that: readd an existing datastore in a given path. Previously you could only do it from CLI or editing datastores.cfh file as you did.

Could not find a mention in the docs for the new GUI option, though...
 

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!