Bacula-users

Re: [Bacula-users] bacula freebsd

2008-08-07 14:21:59
Subject: Re: [Bacula-users] bacula freebsd
From: Martin Simmons <martin AT lispworks DOT com>
To: ml AT s-it DOT ch
Date: Thu, 7 Aug 2008 19:21:34 +0100
>>>>> On Wed, 6 Aug 2008 22:52:26 +0200 (CEST), ml  said:
> 
> I'm using bacula since 1 year to backup 3 freebsd machines daily.
> I works great expect of the any restore is taking a very long time. It
> takes about 2 or 3 hours to restore a single file. We're using a HP
> Ultrium LTO-2 SCSI drive.
> 
> device section in bacula-sd.conf:
> 
> Device {
>   Name = Bandlaufwerk1
>   Description = LTO2
>   Media Type = LTO2
>   Archive Device = /dev/sa0
>   AutomaticMount = no
>   AlwaysOpen = no
>   Offline On Unmount = yes
>   Hardware End of Medium = no
>   BSF at EOM = yes
>   Backward Space Record = no
>   Fast Forward Space File = no
>   TWO EOF = yes
> }
> 
> bacula Version: 2.4.2 (26 July 2008)
> freebsd 6.2-RELEASE
> 
> 1. Is there a way to get the restore faster?

Have you tried this device with Fast Forward Space File = yes?  I have an HP
Ultrium LTO-1 drive that works with the following options on FreeBSD:

  Archive Device = /dev/nsa0
  AutomaticMount = yes
  AlwaysOpen = yes
  Offline On Unmount = no
  Hardware End of Medium = no
  BSF at EOM = no
  Backward Space Record = yes
  Backward Space File = yes
  Fast Forward Space File = yes
  TWO EOF = no

Two notes about this:

1) It uses /dev/nsa0.  Your use of /dev/sa0 is wrong and I think it could even
   cause loss of data if you have more than one job on a tape. 

2) If you change from TWO EOF = yes to TWO EOF = no then your existing tapes
   probably need to be purged before the you write to them again.


> 2. The second question I got is about restoring files from a tape with a
> lost catalog. Is there a way to restore files from a tape where the backup
> catalog is lost? Something like inventory as known from other backup
> utilities.

You can use bextract to read files directly off the tape and bls to list the
contents of a tape.

__Martin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>