Hello everyone,

I'm having trouble trying to get the variable expansion working right in my
ClientRunBeforeJob line. Here is what the line is right now for my job:

  Client Run Before Job = "su - mercuryd -c \"/u01/mercuryd/backupdb.sh '%t'
'%l'\""

I want my backup script to do different things depending on whether I'm doing a
Backup, or Restore, and whether the level is Full or Incremental. I figured the
above 2 arguments will do that quite nicely. However, my shell script isn't
receiving the arguments I'm expecting. When a Job is run from the Schedule
automatically, my shell script will receive the following arguments:
'Unknown Type' ''

If I run my job manually, without modifications I get the same results as if it
was run automatically. If I run my job manually and set the level to either
Full or Incremental (for example, Full), I get the following:
'Unknown Type' 'Full'

Can anybody help me in determining what I'm doing wrong? How can I get the
expected arguments to be sent to my shell script?

Thanks,

Tom

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to