Hello all,

I'm new to bacula Version: 5.2.13 and we are running and I'm trying to make an 
automatic restore script to test the backup.

But I have a problems how to pass the directory to the bacula "restore" command.

I also had problem with markdir - which marked directory and restored the empty 
directory without files.
So for my script I have made workaround

Where I do
----restorescript-

bconsole << END_OF_DATA
cd /directory/to/be/restored
mark *
done
yes
wait
messages
END_OF_DATA
-----
Is there any better way how to pass the directory to the restore command? I 
only know that it can load the file list from text file.

Thank you

Jan



[Sapienza Logo]<http://www.sapienzaconsulting.com/>     Jan Gazda
ECLIPSE & Office IT Support Technician
Sapienza Consulting
Kapteynstraat 1
2201 BB Noordwijk
Netherlands
Tel: +31 (0) 71 407 6518
Fax: +31 (0) 71 407 6536
Mob:

Follow us on:
[Linkedin]<http://www.linkedin.com/company/sapienza-consulting>[Twitter]<https://twitter.com/sapienzajobs>[YouTube]<https://www.youtube.com/channel/UCq2Pzj4-xGZYPtLQhPr7hzw>


The contents of this e-mail and any attachment are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email and/or any attachment in error, please notify the 
sender immediately and then delete it. If you are not the intended recipient, 
you must not distribute, disclose, use, copy, print or rely on this e-mail.

Communicating by email is not 100% secure, error or virus free. It is your 
responsibility to ensure that viruses do not adversely affect your system. If 
you communicate with us by e-mail you agree to take appropriate measures to 
minimise these risks when e-mailing us.

We may monitor, record, store and use any email communication with you in order 
to check any instructions given to us, for training purposes, for crime 
prevention, to improve the quality of our customer service and to keep records 
of our business communications.

Sapienza Consulting Limited is a limited company registered in England and 
Wales with its registered office at 61 Rodney Street, Liverpool, Merseyside, L1 
9ER and registered number 2986023
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to