Re: [Bacula-users] Restoring from bconsole in a shell script
2012-03-27 05:39:27
>>>>> On Tue, 27 Mar 2012 08:42:53 +0200, Maria Arrea said:
>
> Hello
>
> Still no luck, "dir=" option is not recognized:
>
> # cat /root/miprueba
> restore client=wiki current dir="/root/" yes
>
> # bconsole -c /etc/bacula/bconsole.conf < /root/miprueba
> Connecting to Director backup-virtual:9101
> 1000 OK: backup-virtual-dir Version: 5.0.3 (30 August 2010)
> Enter a period to cancel a command.
> restore client=wiki current dir="/root/" yes
> Using Catalog "MyCatalog"
> Unknown keyword: dir
> You have messages.
Sorry, it should be directory=.
I was mislead by the comment in the code :-)
You also need to specify jobid= to make it work.
__Martin
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|