Hi,

(cc'ed to -devel)

13.10.2007 02:19,, Joshua J. Kugler wrote::
> I'm running some tests, and as such, I'm not restoring to the
> system on which the files were originally backed up.  But when I
> get the report e-mails, in the subject they say:
> 
> Bacula: Restore OK of machine-to-which-I'm-restoring Full
> 
> Granted, I'm restoring that the second machine's client, but
> shouldn't the e-mail's subject reflect the machine that was
> selected for restore, not the location of the restore?

At least the option to do so would be nice. You might want a different 
messages resource for restores, but a variable substituted with the 
restore target would would be needed for this. Currently, there is %c 
for the client.

I would suggest to change %c to the target client, or, in case of a 
backup, keep it as it is now. To allow messages as they are now, 
adding a %C to mean the source client would be possible.

So, you'd have the following:
On Backup - %c and %C both hold the source client of the job
On Restore - - %c holds the target client, %C the source client
Everything else - %c unchanged to what it is now, and %C the same as %c

Does this sound reasonable?

Arno

> j
> 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to