Bacula-users

[Bacula-users] Problem with removable drives

2010-09-28 03:40:26
Subject: [Bacula-users] Problem with removable drives
From: Luca Bertoncello <bertoncello AT netzing DOT de>
To: Bacula ML <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 28 Sep 2010 09:10:48 +0200
Hi, List!

I'm new to Bacula and I have a little problem...

I want to backup two servers (Ubuntu Server 10.04), so I installed
bacula-director, bacula-fd and bacula-sd on a server (with a SATA
removable drive slot) and bacula-fd on the other.

I followed the HowTo at
http://wiki.bacula.org/doku.php?id=removable_disk (just using SATA
disks rather than USB disks).

I configured vchanger (/etc/bacula/satachanger1.conf) so:
=========================================
baculasd="satachanger1"
bconsole=/usr/bin/bconsole
magslots=20
maxdrive=0
mountpoint=/mnt/satachanger1/magazine
statedir=/var/lib/bacula/satachanger1
=========================================

My bacula-sd.conf has following part:
=========================================
Autochanger {
  Name = sata-changer-1
  Device = sata-changer-1-drive-0
  Changer Command = "/etc/bacula/vchanger %c %o %S %a %d"
  Changer Device = "/etc/bacula/satachanger1.conf"
}
#---  drive 0 of the sata-changer-1 autochanger
Device {
  Name = sata-changer-1-drive-0
  DriveIndex = 0
  Autochanger = yes;
  DeviceType = File
  MediaType = File
  ArchiveDevice = /var/lib/bacula/satachanger1/drive0
  RemovableMedia = no;
  RandomAccess = yes;
}
=========================================

and my bacula-dir.conf has this storage configured:
=========================================
Storage {
  Name = satachanger1
  Address = hal9000.netzing.intra
  SDPort = 9103
  Password = "<my secret>"
  Device = sata-changer-1
  Media Type = File
  Autochanger = yes;
}
=========================================

Now I receive every day an E-Mail with this content:
=========================================
28-Sep 08:15 hal9000-sd JobId 57: Please mount Volume "m03s005" or label a new 
one for:
    Job:          BackupGateway.2010-09-28_01.00.00_54
    Storage:      "sata-changer-1-drive-0" (/var/lib/bacula/satachanger1/drive0)
    Pool:         File
    Media type:   File
=========================================

On the current disk there is no m03s005. It has just m02sXXX files.

Now, what I'm doing wrong?

Thanks!
Luca Bertoncello
-- 
_______________________________________________________________________
Luca Bertoncello
Entwicklung                               Mail:  bertoncello AT netzing DOT de 


NETZING Solutions AG                      Tel.:  0351/41381 - 23
Fröbelstr. 57, 01159 Dresden              Fax:   0351/41381 - 12
_______________________________________________________________________

Impressum: 
NETZING Solutions AG  -  Fröbelstraße 57   -   01159 Dresden
Sitz der Gesellschaft Amtsgericht Dresden HRB 18926
Vorstand  Dieter Schneider  -  Aufsichtsratsvorsitzender Volker Kanitz
USt.Id DE211326547  Mail:  netzing.ag AT netzing DOT de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
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>