Copy bakups to external device on PBS

zuber

New Member
Nov 20, 2023
15
0
1
Hi, in our company, we're planning to implement PBS, and I'm wondering if it's possible to configure it in a way that backups sent from Proxmox to PBS are automatically copied to an external disk connected to the PBS, for example, via USB. Does anyone know anything about this?
 
I'm juggling with this commands, looks great but time is waste to write a pretty script
StorageName from usb is usb300

Code:
zfs mount usb300
proxmox-backup-manager datastore update usb300 --delete maintenance-mode
proxmox-backup-manager prune-job run usb300
proxmox-backup-manager garbage-collection start usb300
proxmox-backup-manager sync-job run usb300
proxmox-backup-manager verify-job run usb300
proxmox-backup-manager datastore update usb300 --maintenance-mode offline
zfs unmount usb300

Maybe someone have time to make a script :)