Hello, i'm using bacula 1.36.2-2sarge1 and want to backup several remote maschines only available via ssh tunnels.
For this i'm having some jobs like: Job { Name = "Client" JobDefs = "DefaultRemoteJob" Client = FQDN Run Before Job = "/etc/bacula/ssh-tunnel.sh start %c" Run After Job = "/etc/bacula/ssh-tunnel.sh stop %c" Write Bootstrap = "/var/lib/bacula/ClientRoot2.bsr" } The backup works fine with %c as FQDN for each Client. (Run Before und After can also be declared inside JobDefs if i understand the %c replacement correctly. But my restore Job don't work. Job { Name = "RestoreRemote" Type = Restore Client = NEEDED_CLIENT_NAME FileSet="StdSet" Storage = File Pool = Default Messages = Standard Run Before Job = "/etc/bacula/ssh-tunnel.sh start %c" Run After Job = "/etc/bacula/ssh-tunnel.sh stop %c" Where = / } If i start a restore job, i select the client to restore to in bconsole. Why i need to declare e client inside the Job Definition? The %c in Run Before and After would not be replaced with the selected client but with the Client in the Job Definition. So i need for each Remote Server an own Restore Job. Is there any way to do this with only one restore job for all remote servers? -- Markus Schulz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users