scheduled directory backups on PBS

raubo

Member
Jan 17, 2018
9
1
21
64
Hello,

I just installed a Proxmox Backup server with the Proxmox VE as one client.
Now I can add backups of whole vm's and containers. Works fine so far. But I have large data directories for our media library on the VE itself which I would like to backup separately with different backup and retention plans. Isn't that possible?
I saw the example "proxmox-backup-client backup root.pxar:/ --repository backup-server:store1".
Okay, but can a command like this be saved and scheduled?
A specific data subdirectory like "videos" can also be defined as storage, but obviously this cannot be addressed for backups.
What is the best practice here? And how can the Proxmox host be backed up itself

Regards,
Ralph
 
Okay, but can a command like this be saved and scheduled?
This is the perfect task for cronjobs. Cronjobs are scripts that run in intervals you define yourself.
But I have large data directories for our media library on the VE itself which I would like to backup separately with different backup and retention plans. Isn't that possible?
Retention is currently configured on a per-datastore basis. You'd need to create another datastore with different retention times. Then create a backup job that only backs up this directory to this special datastore
 

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!