[PVE-User] Puting VM name on vzdump filename
Eneko Lacunza
elacunza at binovo.es
Wed Dec 17 15:25:43 CET 2014
Find it attached
On 17/12/14 15:21, Luis G. Coralle wrote:
> Hi, Eneko, where is your hook?
>
> 2014-12-11 10:29 GMT-03:00 Eneko Lacunza <elacunza at binovo.es
> <mailto:elacunza at binovo.es>>:
>
> 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 <http://www.binovo.es>
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com <mailto:pve-user at pve.proxmox.com>
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
>
> --
> Luis G. Coralle
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20141217/05976b3d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vzdump-hook-script.pl
Type: application/x-perl
Size: 1325 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20141217/05976b3d/attachment.bin>
More information about the pve-user
mailing list