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 :)
 

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!