I don't know if there's a "proper" way to do it, but you can search for a file using grep, which will give you the full path, then you can restore it with the restore command.

lightning:~# echo "list files jobid=2" | bconsole | grep bacula-fd.conf
| c:/bacula/bin/bacula-fd.conf
                                                       |
| c:/bacula/bin/bacula-fd.conf.new
                                                       |
lightning:~#


Thomas

Andreas Ntaflos wrote:
Hello list, sorry that this is a repost, I thought I might give it
another shot, maybe there's someone who can answer this now. If not
please ignore this :-)

I am running a Bacula setup backing up a small company's fileserver with
about 20GiB of data, lots of files, lots of directories. Bacula 1.34.5
on a Gentoo Linux server (client is a MacOS X.3 PowerMac).

I'd like to know what the best method would be to restore one or more
single files should they get deleted accidentally.
From what I've seen there is only one way to do that, which is to know
the exact path and file name. This is simply not possible for my users (and me). The directory structure is complicated and quite deep and the
chances to be able to remember exactly where the file was or what its
exact name was are very slim, especially if the users discover that they
are missing a file several days later.

So what are the possibilities? I know there is no Restore-GUI or web
client and thus no easy way to see all the files that got backed up on
a given day.

Does the Gnome console interface for Bacula feature tab completition for
file and directory names?
I'd really appreciate suggestions from other Bacula users. How do you
restore single files when you don't remember the exact path or filename?

On a related question: how (well) does Bacula handle German Umlauts in
file names? You know, the ö, ä, ü and ß thingies.

Hopyfully you can provide me with answers, or links to answers, should this
questions have been asked before.

Thanks a lot in advance.

Andreas


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to