Bacula-users

[Bacula-users] Please use the "label" command to create a new Volume / why?

2010-09-23 11:33:06
Subject: [Bacula-users] Please use the "label" command to create a new Volume / why?
From: dobbin <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 23 Sep 2010 04:39:21 -0400
This may sound like a stupid question, but everything I've found relating to 
this error referrs to problems with tape changers and our system is entirely 
disk based. We've got two debian servers running bacula 2.44 and 3.02 (yes, 
they're old, the 2.44 one is getting upgraded very soon) 

anyway, I often get this error, 

Bacula: Intervention needed for Backup_newserver.2010-09-07_00.35.00.48 

07-Sep 07:35 bacula-sd JobId 80852: Job Backup_newserver.2010-09-07_00.35.00.48 
waiting. Cannot find any appendable volumes. 
Please use the "label" command to create a new Volume for: 
Storage: "newserverFileStorage" (/d4/bacula/mailservers/newserver) 
Pool: newserver 
Media type: File 

Now it's easy enough to fix, I go into the directory, see that the most recent 
file is 

newserver-day-0777 

i run these commands 

bconsole 
label 
(select the newserver from the pool) 
(enter new label) newserver-day-0778 
(select the newserver from the pool) 

Job done. 

Now when I saw this previously, I thought it was because we had run out of disk 
space or because we had previously deleted old volumes from the pools. We 
recently added a diska rray onto each of the servers and have created fresh 
pools so that's not the case now. 

Everything ran fine for the first couple of months after I added the new arrays 
but now I'm seeing this error crop up more and more often. If I run the 
commands above, the backup runs fine but frequently I see the same error pop up 
for the same servers the next day. 

Each server runs about 100 backups over a 12 hour period,  most run fine but 
we're getting more of these errors, can anyone give any clues as to why this is 
happening? 


Here's the config template we use 

###### newserver 

Schedule { 
  Name = "newserverMonthlyCycle" 
  Run = Level=Full on 1 at 00:35 
  Run = Level=Incremental on 2-31 at 00:35 
} 

Schedule { 
  Name = "newserverVerifyCycle" 
  Run = Level=DiskToCatalog sun at 01:35 
} 

Job { 
  Name = "Backup newserver" 
  Type = Backup 
  Level = Incremental 
  Client = newserver-fd 
  FileSet = "newserver Full Set" 
  Messages = Standard 
  Storage = newserverFile 
  Pool = newserver 
  Schedule = newserverMonthlyCycle 
  Write Bootstrap = "/var/lib/bacula/newserver.bsr" 
  Priority = 10 
} 

Job { 
  Name = "Restore newserver" 
  Type = Restore 
  Client = newserver-fd 
  FileSet = "newserver Full Set" 
  Storage = newserverFile 
  Messages = Standard 
  Pool = newserver 
  Where = /tmp/bacula-restores 
  Bootstrap = "/var/run/bacula/newserver.bsr" 
} 

Job { 
  Name = "Verify newserver" 
  Type = Verify 
  Verify Job = "Backup newserver" 
  Level = DiskToCatalog 
  Client = newserver-fd 
  FileSet = "newserver Verify Set" 
  Messages = Standard 
  Storage = newserverFile 
  Pool = newserver 
  Priority = 10 
  Schedule = "newserverVerifyCycle" 
} 

FileSet { 
  Name = "newserver Full Set" 
  Include { 
    Options { 
      compression = GZIP 
      signature = MD5 
    } 
    File = /etc 
  } 
} 

FileSet { 
  Name = "newserver Verify Set" 
  Include { 
    Options { 
      verify = pins5 
      signature = MD5 
    } 
    File = /etc 
  } 
} 

Storage { 
  Name = newserverFile 
  Address = 111.111.64.239 
  Password = st0rag3da3m0n 
  Device = newserverFileStorage 
  Media Type = File 
} 

Client { 
  Name = newserver-fd 
  Address = 111.111.64.64 
  Password = ***Password*** 
  Catalog = MySQL 
  AutoPrune = yes 
} 

Pool { 
  Name = newserver 
  Pool Type = Backup 
  Recycle = yes 
  AutoPrune = yes 
  Volume Retention = 65 days 
  Maximum Volumes = 65 

  Use Volume Once = Yes 
  LabelFormat = "newserver-day-" 
}

+----------------------------------------------------------------------
|This was sent by tibus.support AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users