[Bacula-users] Two questions regarding restore jobs (RunScript and Restore command line)
2008-04-09 09:47:41
Hi,
I'm experiencing two problems restoring jobs:
1) I configured a script to be run after the restore job. Everything
is fine, but the output of the script doesn't appear in the mail sent
by Bacula, actually, Baculla sends the mail just after the restore
operation without waiting the execution of the script (which last
several minutes). With the backup jobs I've something very similar and
everything works as expected (the output of the script appears in the
mail).
2) I want to make a very simple restore operation, so I'm trying to
write a singole restore command that doesn't require any other input
by the operator. Iput "yes" on the command line, but the console still
prompts for the restore resource job (even if there is only one
eligibile restore job in directory for that client).
This is the definition of my restore job:
Job {
Name = "RetrieveLogs"
Type = Restore
Client = "logserver-fd"
FileSet= "LogFileSet"
Storage = TapeDevice
Pool = Tapes
Messages = Standard
Strip Prefix = /var/log/backup
Add Prefix = /var/log/restore
# Replace all the files
Replace = always
RunScript {
RunsOnFailure = No
RunsWhen = After
RunsOnClient = Yes
Command = "perl /root/unzip.pl"
}
}
Can someone give me some hints to solve my problems?
Thx
J.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Bacula-users] Two questions regarding restore jobs (RunScript and Restore command line),
jeremi <=
|
|
|