cat file.txt | bconsole -c /etc/bacula/bconsole.conf
seems to work. So I'll generate it using templates and file lists.
But is there a way to write it in a file included in
/etc/bacula/bacula-dir.conf and then :
echo -e "reload\n" | bconsole
echo -e "restore myrestore\n" | bconsole
which seems cl
On 2008.02.13. 12:53, le dahut wrote:
> but :
> 'unmark /home/myfolder'
> 'unmark home/myfolder'
> don't work
that's unfortunate, if this is the latest version of bacula, it would be
a welcome improvement
> 'cd home'
> 'unmark myfolder'
> works
>
> so 'unmark $(cat file)' doesn't work (I've tes
but :
'unmark /home/myfolder'
'unmark home/myfolder'
don't work
'cd home'
'unmark myfolder'
works
so 'unmark $(cat file)' doesn't work (I've tested it to be sure and
confirm).
Rich a écrit :
> unmark $(cat file) ?
> if i understood the question :)
>
> On 2008.02.13. 12:14, le dahut wrote:
>>
unmark $(cat file) ?
if i understood the question :)
On 2008.02.13. 12:14, le dahut wrote:
> Hello,
>
> I'm launching 'restore' from command line with :
> echo -e "restore all\n5\ncd var\ncd lib\nunmark
> ldap\ndone\n2\nyes\n"|bconsole -c /etc/bacula/bconsole.conf
>
> As you can see, I unmark s
Hello,
I'm launching 'restore' from command line with :
echo -e "restore all\n5\ncd var\ncd lib\nunmark
ldap\ndone\n2\nyes\n"|bconsole -c /etc/bacula/bconsole.conf
As you can see, I unmark some files, but I've more files to unmark and
this way looks very ugly to me. Is there a way to specify al