Bacula-users

[Bacula-users] Restore last files from backup

2012-11-05 16:54:12
Subject: [Bacula-users] Restore last files from backup
From: Eduardo Júnior <ihtraum18 AT gmail DOT com>
To: Bacula <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 5 Nov 2012 18:50:27 -0300
Hi,


is it possible to get only last files from backup, through line command?

I did that using a shell script, finding out  the JobId, FilenameId and Filename from files that Job.

And in the final:


for i in `cat listFiles`;
do
bconsole <<EOD
restore client=client-fd select current file=/PATH/$i done yes restoreclient=client2-fd where=/mnt/export FileSet="Client Set"
EOD
done


Thanks,

--
Eduardo Júnior
GNU/Linux user #423272
http://eduardojunior.eti.br

:wq
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>