[PVE-User] Puting VM name on vzdump filename

Eneko Lacunza elacunza at binovo.es
Thu Dec 11 14:29:50 CET 2014


Hi all,

I'm preparing a vzdump hook to put VM names in the backup file's 
filename. Right now it does the following change:
     vzdump-qemu-119-2014_12_11-13_35_06.vma.lzo
Is renamed on backup-end phase to
     vzdump-qemu-119-2014_12_11-13_35_06-vmname.vma.lzo

It's ok but I have noticed that this seems to break backup rotation.

Is there any other solution for putting vmname on the backup filename, 
so that backups can be correctly identified when they're shipped elsewhere?

Something that can be tweaked to make backup rotation work with the 
previous solution?

Thanks
Eneko

-- 
Zuzendari Teknikoa / Director T├ęcnico
Binovo IT Human Project, S.L.
Telf. 943575997
       943493611
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list