scheduled directory backups on PBS

raubo

Member
Jan 17, 2018
9
1
21
65
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