proxmox-backup-client --backup-time

osoo

New Member
Feb 22, 2021
6
0
1
48
Hi,
I wanted to add older files system snapshots to pbs using
Bash:
proxmox-backup-client backup Documents.pxar:Documents/2018.07.27/ --repository 192.168.1.222:store1 --backup-time `date -d 2018-07-27 +%s -u`

but I get:
Bash:
Error: parameter verification errors
parameter 'backup-time': value must have a minimum value of 1547797308 (got 1532649600)

The "offending" code seems to be in proxmox-backup.git/pbs-api-types/src/datastore.rs
Code:
pub const BACKUP_TIME_SCHEMA: Schema = IntegerSchema::new("Backup time (Unix epoch.)")
    .minimum(1_547_797_308)
    .schema();

Can't this minimum be lowered? Or is there another way to add old backups?
 
Is there a problem lowering the minimum value BACKUP_TIME_SCHEMA.minimum in proxmox-backup.git/pbs-api-types/src/datastore.rs ?
@dietmar
 
mhmm... i am not sure why this lower bound exists, but can you open a bug report here: https://bugzilla.proxmox.com
better to discuss and track that there..

For example can the date of the snapshot of proxmox-backup-server-store be changed afterwards?
not with our tools, no. though it is just the name of the snapshot directory