[PVE-User] PVE and Bacula (really: vzdump invocation glitches)

Marco Gaiarin gaio at sv.lnf.it
Wed Aug 24 11:25:35 CEST 2016


I'v setup a Bacula jub to backup my VMs (weekly); on the job definition
i've do:

 Job {
   Name = 3Jane-VMs

   [...]

   ClientRunBeforeJob = "/usr/bin/vzdump 100 102 103 107 --storage Backup -maxfiles 1 -remove --compress lzo --mode snapshot --quiet --mailto user at domain --mailnotification failure"
   ClientRunBeforeJob = "/usr/bin/vzdump 104 105 108 109 --storage Backup -maxfiles 4 -remove --exclude-path '/var/spool/squid3/*' --compress lzo --mode snapshot --quiet --mailto user at domain --mailnotification failure"

   [...]

 }

But if i look at backup storage (NFS):

root at 3jane:~# ls -la /mnt/pve/Backup/dump/
totale 168370568
drwxr-xr-x 3 root root        4096 ago 24 10:56 .
drwxr-xr-x 5 root root        4096 mag 25 15:04 ..
-rw-r----- 1 root root         601 ago 20 22:00 vzdump-lxc-100-2016_08_20-22_00_04.log
-rw-r----- 1 root root   339433859 ago 20 22:00 vzdump-lxc-100-2016_08_20-22_00_04.tar.lzo
-rw-r--r-- 1 root root        2942 mag 28 04:26 vzdump-lxc-106-2016_05_28-03_35_12.log
-rw-r--r-- 1 root root   375854823 mag 28 04:26 vzdump-lxc-106-2016_05_28-03_35_12.tar.lzo
-rw-r--r-- 1 root root        2942 giu  4 04:27 vzdump-lxc-106-2016_06_04-03_36_11.log
-rw-r--r-- 1 root root   405937409 giu  4 04:27 vzdump-lxc-106-2016_06_04-03_36_11.tar.lzo
-rw-r--r-- 1 root root        2944 giu 11 05:09 vzdump-lxc-106-2016_06_11-03_45_05.log
-rw-r--r-- 1 root root   408598414 giu 11 05:09 vzdump-lxc-106-2016_06_11-03_45_05.tar.lzo
-rw-r--r-- 1 root root        2944 giu 11 06:46 vzdump-lxc-107-2016_06_11-03_08_56.log
-rw-r--r-- 1 root root  3121699170 giu 11 06:45 vzdump-lxc-107-2016_06_11-03_08_56.tar.lzo
-rw-r----- 1 root root       11795 ago 20 22:17 vzdump-qemu-102-2016_08_20-22_00_34.log
-rw-r----- 1 root root 23491854394 ago 20 22:17 vzdump-qemu-102-2016_08_20-22_00_34.vma.lzo
-rw-r----- 1 root root       12240 ago 20 23:33 vzdump-qemu-103-2016_08_20-22_17_10.log
-rw-r----- 1 root root 40929145886 ago 20 23:33 vzdump-qemu-103-2016_08_20-22_17_10.vma.lzo
-rw-r--r-- 1 root root       11921 mag 25 18:03 vzdump-qemu-104-2016_05_25-17_32_43.log
-rw-r--r-- 1 root root 10091170553 mag 25 18:03 vzdump-qemu-104-2016_05_25-17_32_43.vma.lzo
-rw-r--r-- 1 root root       11925 mag 28 02:52 vzdump-qemu-104-2016_05_28-02_20_36.log
-rw-r--r-- 1 root root 10578918957 mag 28 02:52 vzdump-qemu-104-2016_05_28-02_20_36.vma.lzo
-rw-r--r-- 1 root root       11927 giu  4 02:52 vzdump-qemu-104-2016_06_04-02_20_18.log
-rw-r--r-- 1 root root 12889457310 giu  4 02:52 vzdump-qemu-104-2016_06_04-02_20_18.vma.lzo
-rw-r--r-- 1 root root       11942 giu 11 03:08 vzdump-qemu-104-2016_06_11-02_00_01.log
-rw-r--r-- 1 root root 14594542644 giu 11 03:08 vzdump-qemu-104-2016_06_11-02_00_01.vma.lzo
-rw-r--r-- 1 root root       11761 mag 28 03:35 vzdump-qemu-105-2016_05_28-03_18_10.log
-rw-r--r-- 1 root root 13480683998 mag 28 03:35 vzdump-qemu-105-2016_05_28-03_18_10.vma.lzo
-rw-r--r-- 1 root root       11766 giu  4 03:36 vzdump-qemu-105-2016_06_04-03_18_19.log
-rw-r--r-- 1 root root 13714737945 giu  4 03:36 vzdump-qemu-105-2016_06_04-03_18_19.vma.lzo
-rw-r--r-- 1 root root       11777 giu 11 02:19 vzdump-qemu-105-2016_06_11-02_00_01.log
-rw-r--r-- 1 root root 13627389676 giu 11 02:19 vzdump-qemu-105-2016_06_11-02_00_01.vma.lzo
-rw-r--r-- 1 root root        5040 lug 19 17:11 vzdump-qemu-109-2016_07_19-16_53_01.log
-rw-r--r-- 1 root root       12113 lug 19 17:58 vzdump-qemu-109-2016_07_19-17_11_52.log
-rw-r--r-- 1 root root   681214839 lug 19 17:58 vzdump-qemu-109-2016_07_19-17_11_52.vma.lzo

Last execution was effectively saturday 20, so seems that only VM/CT
100, 102 and 103 get backed up.

All subsequent machine no. I get NO email errors about backup. Bacula seems
to run scripts without errors.


What happen? Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list