>>>>> On Thu, 6 Sep 2018 16:10:00 +0100, Adam Weremczuk said:
> 
> On 06/09/18 16:00, Martin Simmons wrote:
> 
> >> 3 million files, not one?
> >> What am I doing wrong?
> > Nothing is wrong -- the regexp is used during the restore to choose which
> > files to extract.  It has to scan the whole backup to do this, so it selects
> > all files.
> So definitely only one file will be copied to "restored" folder?

I suspect your regexp ^/var/log/auth.log will also match
/var/log/auth.log.0.bz2 etc so you may get a few more files.

It should be apparent quite quickly if it matches everything :-)


> The search for it is still likely to take hours, right?

Yes, it will take almost as long as a full restore.


> Is it expected to use extreme amounts of CPU and/or memory?

It shouldn't use much memory.  I'm not sure about CPU, but most of the work
will be done by the bacula-sd.

__Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to