Hi Tim,
I think that you should create a script that invoke the "restore" bconsole's 
command:

echo -e "restore client=client_to_restore-fd jobid=123 where=/tmp/restore-test/ 
restoreclient=client-where-restore-fd file=</tmp/listfile select current 
done\nyes"|bconsole

Take a look at the console manual to get detailed informations:
http://www.bacula.org/7.0.x-manuals/en/console/index.html
(restore section and restore section of the admin manual).

Regards

----- Messaggio originale -----
> Da: "Tim Macholl" <mach...@scienlab.de>
> A: "Bacula-users" <bacula-users@lists.sourceforge.net>
> Inviato: Giovedì, 30 ottobre 2014 14:59:43
> Oggetto: [Bacula-users] automatic restore Test
> 
> Hello,
> 
> is it possible to restore a file automatically. The reason is I need an
> auto-restore test for bacula. Once per day I write "date >
> /mnt/share/restore-test" and after daily backup I restore this file and
> send a mail with the file content. The problem is, I don't know how to
> restore the file automatically.
> 
> Regards,
> Tim
> 
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Certificazioni: RHCVA, LPI 1
SOASI - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Gandhi 28, 47121 Forlì (FC)
Tel.: +39 0543 090053 - Fax: +39 0543 579928

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to