Rename backup files

jozunov

New Member
Jan 21, 2021
1
0
1
32
What's the command in terminal for renaming the backup files?
For example: vzdump-qemu-204-2020_11_30-13_08_06.vma.zst to vzdump-qemu-204-2020_11_30-13_08_06-SERVERNAME.vma.zst
 
Code:
mv old-name new-name

mv is short for 'move'
 
not directly, but you can use the shell of the webui to use the cli there
or use e.g. a vzdump hook script to automate that (if possible)
 
After updating to 6.3-3 I see now there's an option to add notes to a backup, that'll serve my purpose.
 
On second thought, it would be nice to lock/protect/tag a backup from being deleted due to the backup retention policy. My work around is to move any special backups I want to keep to a different storage location.
 
On second thought, it would be nice to lock/protect/tag a backup from being deleted due to the backup retention policy. My work around is to move any special backups I want to keep to a different storage location.
yes that would be a nice feature, do you want to open a feature request for this? (or check if there is already one on https://bugzilla.proxmox.com )