[SOLVED] OS and data : retention different - is it possible ?

lxiosjao

Member
Mar 21, 2021
64
1
13
Hello,
I use a VM where I passthrough :
SSD for the OS
HDD for data

My data are wrote on physical disk (not virtual disk).
I'cant use the GUI in proxmox to backup my "VM os + data" because I passthrough the sata controler.

So the solution is using the proxmox-backup-client from the cli in my vm.
I dont want the same retention for the OS and for my data
I made 2 scripts :

1) Backup SSD : OS (ext4)
This script is run daily : backup + prune
keep-daily 2
keep-weekly 1
keep-monthly 6

2) Backup HDD : data (zfs)
This script is run hourly : backup + prune
keep-hourly 24
keep-daily 14
keep-monthly 12
keep-yearly 2

All works fine but I dont have the retention that I want.
The prune command is run from 2 scripts differents on the same backup group.
Is it possible to have 2 backup groups different for the same host in PBS or any other solution ?

Thanks for the help
 
Last edited:
yeah, when using proxmox-backup-client directly you can choose the backup group (it defaults to the hostname), so you can just backup to two different backup groups..
 
  • Like
Reactions: lxiosjao