proxmox-backup-client --backup-time

osoo

New Member
Feb 22, 2021
6
0
1
47
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
 

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!