Bacula-users

Re: [Bacula-users] don't understand ??

2008-10-01 11:32:28
Subject: Re: [Bacula-users] don't understand ??
From: "John Drescher" <drescherjm AT gmail DOT com>
To: rcaamer <gerard AT altheys DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 1 Oct 2008 11:22:00 -0400
On Wed, Oct 1, 2008 at 10:53 AM, rcaamer <gerard AT altheys DOT com> wrote:
>
>
>
> rcaamer wrote:
>>
>> Hi,
>>
>> I backup each of my job in 2 tapes with autolabel , autoprune, retention
>> and autocycle.
>>
>> I used 10 tapes non labeled per week .
>>
>> I made a full backup .
>>
>>
>>
>> My first job's backup is always OK . but the second when i used blank tape
>> or tape erased (mt -f /dev/st0 mt and -f /dev/st0 weof )
>> rewind ) but bacula told me 01-oct 14:42 backupxxx-sd JobId 73: Please
>> mount Volume "Full-2008-09-30-23:18" or label a new one for:
>>     Job:          Backup_journalier.2008-09-10_23.18.04
>>     Storage:      "tapestorage" (/dev/st0)
>>     Pool:         Tape_Pool
>>     Media type:   DDS-4
>> I use the lastest version of bacula
>>
>> So i have to everyday to remove the pool : Tape_Pool
>>
>> If somebody could help me :)
>>
>> My bacula-dir.conf :
>>
>> Director {                            # define myself
>>   Name = backupxxx-dir
>>   DIRport = 9101
>>   QueryFile = "/etc/bacula/query.sql"
>>   WorkingDirectory = /var/bacula/working
>>   PidDirectory = "/var/run"
>>   Maximum Concurrent Jobs = 1
>>   Password = "XXXXXXXXXXXXXXXXXXX"         # Console password
>>   Messages = Daemon
>> }
>> # Client (File Services) to backup
>> Client {
>>   Name = backupxxx-fd
>>   Address = backupxxx
>>   FDPort = 9102
>>   Catalog = MyCatalog
>>   Password = XXXXXXXXXXXXXXXXXXX
>>   File Retention = 30 days
>>   Job Retention = 6 months
>>   AutoPrune = yes
>> }
>> # Definition of file storage device
>> Storage {
>>   Name = TAPE
>> # Do not use "localhost" here
>>   Address = backupxxx
>>   SDPort = 9103
>>   Password = XXXXXXXXXXXXXXXXXXX
>>   Device = tapestorage
>>   Media Type = DDS-4
>> }
>>
>>
>> # Generic catalog service
>> Catalog {
>>   Name = MyCatalog
>>   dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
>> }
>>
>>
>> Schedule {
>>   Name = "schedule journalier"
>>   Run = Level=Full Pool=Tape_Pool mon-thu at 23:18
>> }
>> FileSet {
>>   Name = "backup journalier 1"
>>   Include {
>>     File = /mnt/samba/XXXXX
>>     Options {
>>     }
>>     File = "/mnt/samba/XXXXXXX/"
>>
>>   }
>> }
>> Pool {
>>   Name = Tape_Pool
>>   Pool Type = Backup
>>   Volume Retention = 1 seconds # For testing
>> #  Accept Any Volume = yes
>>   Recycle = yes
>>   AutoPrune = yes
>>   Label Format =
>> "Full-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}"
>> }
>> Job {
>>   Name = "Backup journalier"
>>   Type = Backup
>>   Level = Full
>>   Client = backupxxx-fd
>>   FileSet = "backup journalier 2"
>>   Schedule = "schedule journalier"
>>   Storage = TAPE
>>   Pool = Tape_Pool
>>   Messages = Standard
>> }
>>
>> part of My bacula-sd.conf
>>
>> Device {
>>   Name = tapestorage
>>   Media Type = DDS-4
>>   Archive Device = /dev/st0
>>   AutomaticMount = yes
>>   Random Access = no
>>   RemovableMedia = yes
>>   AlwaysOpen = yes
>>   LabelMedia = yes
>>
>>   }
>>
>>
>>
>>
>
> Ps: the second tape of my backup is not full
>

Did you use the unmount command to eject the previous tape?

John

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