Bacula-users

Re: [Bacula-users] use find to mark files

2010-09-18 13:22:00
Subject: Re: [Bacula-users] use find to mark files
From: Dan Langille <dan AT langille DOT org>
To: JanJaap Scholing <janjaapscholing AT hotmail DOT com>
Date: Sat, 18 Sep 2010 13:19:20 -0400
On 9/18/2010 12:55 PM, JanJaap Scholing wrote:

>  > Date: Sat, 18 Sep 2010 09:08:31 -0400
>  > From: dan AT langille DOT org
>  > To: janjaapscholing AT hotmail DOT com; bacula-users AT lists.sourceforge 
> DOT net
>  > Subject: Re: [Bacula-users] use find to mark files
>  >
>  > resending, this time with a CC to the list.
>  >
>  > On 9/18/2010 6:40 AM, JanJaap Scholing wrote:
>  > > Hi List,
>  > >
>  > > Is it posible to use the find command to mark files during a restore
>  > > file selection?
>  >
>  > Can you elaborate upon the problem you are trying to solve? Perhaps the
>  > solution is not find.
>  >
>  > You can do a 'mark *' which selects everything within and below your
>  > currently dir.

 > Yes, i want to restore for example all the .doc files from a job with
 > 1,000,000 files.
 >
 > With the find command in the restore shell i can find them, but not
 > select them to restore, i have to mark them manualy.

Perhaps this can be scripted.  echo 'status director' | bconsole

I'd start by using find to create the list of files, then use that to 
generate the mark commands.

Hope that helps.

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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>