On Thursday 22 September 2005 20:31, Karl Cunningham wrote:
> A Windows user has asked me to restore all files that match *.dbx to his
> machine.  I proudly said "sure" and now can't seem to get it to work.  I
> created a new fileset like this:
>
> FileSet {
>   Name = "howie-restore"
>   Ignore Fileset Changes = yes
>   Include {
>     File = "c:/"
>     Options {
>       WildFile = "*.dbx"
>     }
>     Options {
>       Exclude = yes
>       WildFile = "*"
>     }
>   }
> }
>
> I put that fileset in as the default for the restore job.  I'm using a
> recent full backup which contains all the needed files, and when I try the
> restore ALL files are selected rather than just the desired files.
>
> Does anyone know how I can get this to select only the *.dbx files?

It is probably a bit confusing that the FileSet is used for the backup, but 
not in the restore (well, perhaps the FileSet name is used in a restore, but 
not the contents). 

Originally, I had planned to use the FileSet for restores, but I quickly 
realized that it would be a real pain to edit the bacula-dir.conf file every 
time you do a restore, so I implemented the restore command, and now
all restores must be done using "restore".

Unfortunately, the restore command doesn't have the best of all user 
interfaces, and I don't think it is possible to recursively mark all *.dbx 
files.  However, if I am not mistaken, you must explicitly "cd" to each 
directory to do your "mark *.dbx" command, or you must supply a list of 
files.

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to