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

Marco Gaiarin gaio at sv.lnf.it
Wed Aug 24 12:05:27 CEST 2016


> What happen? Thanks.

Ok, some light. '107' is a CT, not a VM, but, at least for me, vzdump
behave badly because:

	root at 3jane:~# /usr/bin/vzdump 107 --storage Backup -maxfiles 1 -remove --compress lzo --mode snapshot --mailto email at domain --mailnotification failure; echo $?
	0

eg, if i try a snapshot backup for a CT, vzdump emit no output and exit with 0
status, and also ignore all subsequent backups.

Also, the uther RunBeforeClient command fail the same way:

	root at 3jane:~# /usr/bin/vzdump 105 --storage Backup -maxfiles 4 -remove --exclude-path '/var/spool/squid3/*' --compress lzo --mode snapshot --mailto email at domain --mailnotification failure; echo $?
	0

ok, '--exclude-path' is an invalid option for VMs (work only for
containers), but, same way, no output and exist status 0.


I've fixed my Bacula job. But i think 'vzdump' have to emit output and
exit nonzero on syntiax errors...

I can/have to make a bugreport?


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