Hello,

I'm trying to write a script that tells bacula to restore job X to 
client Y, which may not be the same client that job X came from.

Currently, I'm doing this:

[list of files to restore in filelist.txt]

[tempfile]:
restore jobid=X client=Y where=/tmp/test file=<filelist.txt done yes

bconsole <tempfile

This is failing, and I can see from the queries that are being run that 
it's looking for each file from filelist.txt with the condition that the 
file was backed up by client Y, which is the client I want to restore 
to, not the client the file came from.  I think that by specifying the 
jobid explicitly, bacula has enough information to select the proper 
files without being given the name of the client they came from.

Any idea what I'm doing wrong?

Thanks,

Andrew Fabian

-------------------------------------------------------------------------
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

Reply via email to