Bacula-users

Re: [Bacula-users] Bacula 5.0.2 restore files from tape very slow

2010-07-15 21:09:28
Subject: Re: [Bacula-users] Bacula 5.0.2 restore files from tape very slow
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Jul 2010 21:06:29 -0400
On 07/15/10 14:07, May, John wrote:
> I am using Bacula 5.0.2 using MySQL on Centos 5.4 x64.   I'm trying to 
> restore some files from a backup I made a couple months ago.  I the restore 
> is about 1.5 TB in size and spans two LTO4 tapes.  I can start the restore 
> just fine and the first 5GB flies by in a minute or so, then the restore sort 
> of stalls and starts crawling.  It slows down to about 1MB/s down from about 
> 70MB/s.  There are only about 15,000 files on the tapes and I am restoring to 
> a local Raid 0 array.
> 
> I tried to bextract the files with and without a bootstrap file and the speed 
> is still very slow.  I also verified I have the correct the indexes in Mysql 
> and I compacted the database.
> 
> At this rate, I don't think the restore will finish, because it is going so 
> slow.
> 
> Any ideas on what's going on?
> 
> -- John


Hi John... Is it possible that the backup job you are trying to restore from
was running at the same time as other backup jobs were running (eg: concurrent
jobs enabled)?

If yes, then what might be going on here is that several jobs from several
clients were written to the tape at the same time, and the data from each job
was "interleaved",  so the write to tape during the backup was fast, but now
the trade-off is that restores will be slow since the tape drive needs to read
parts of the files it wants to restore, skip the files from other
servers/jobs, lather, rinse, repeat.

It could also explain the initial fast restore of some data as it is possible
that this particular backup job you are trying to restore was "already in
progress" when the other started so it had full access to the storage and it
was the only one writing to the tape.

Something to consider.

--
Bill Arlofski
Reverse Polarity, LLC

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users