> > Only the stuff printed after each individual "backup-start" seems to
> > show up, in the vm backup log. Output in "job-start", before the vm
> > backups themselves is not there.
> 
> So why are there things like 'backup mode:' which are printed before we run 
> the
> 'backup-start' hook?
> 
> I just saw that we pass the logfd to the hook script like:
> 
>           $self->run_hook_script ('backup-start', $task, $logfd);
> 
> So please try to print to $logfd instead of stdout/stderr.

Ignore, that - we redirect stdout/stderr to $logfd so that should work out of 
the box.


_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to