Bacula-users

[Bacula-users] need to keep manually labelling new volumes

2010-11-02 06:05:11
Subject: [Bacula-users] need to keep manually labelling new volumes
From: dobbin <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 02 Nov 2010 06:02:12 -0400
Hi there, I'm running bacula-dir in two locations, each backing up about 100 
servers onto disk arrays, I'm not using tape.
One location had a bit of calamity a while back and I was forced to restart all 
backups from scratch, that location is doing fine.
In the other location, backups repeatedly fail asking me to label a new volume. 
Some jobs keep going fine but there are some jobs for particular servers that 
fail more often than not. I tried creating new jobs for some of these problem 
server but they came back with the same issues.
I asked about this previously and someone pointed out that I was using a 
separate pool for each backup job and this was not good practice.
I didn't want to leap in and re-do every backup so I took a small group of 
problematic servers and put them into a communal pool.
For a couple of weeks this went swimmingly but this weekend the full backups 
were scheduled and now all the servers in the communal pool have failed 
requesting a new volume. I created a new volume for one but the others are 
still complaining. I can go and re-label all these but I'd like to stop this 
error happening.

Here's the template we use

## Your_Server_Name
Schedule &#123;
Name = "Your_Server_NameMonthlyCycle"
Run = Level=Full on 1 at &#123;&#123;ti&#58;me&#125;&#125;
Run = Level=Incremental on 2-31 at &#123;&#123;ti&#58;me&#125;&#125;
&#125;
Schedule &#123;
Name = "Your_Server_NameVerifyCycle"
Run = Level=DiskToCatalog sat at &#123;&#123;ti&#58;me&#125;&#125; 
&#125;
Job &#123;
Name = "Backup Your_Server_Name"
Type = Backup
Level = Incremental
Client = Your_Server_Name-fd
FileSet = "Your_Server_Name Full Set"
Messages = Standard
Storage = Your_Server_NameFile
Pool = Your_Server_Name
Schedule = Your_Server_NameMonthlyCycle
Write Bootstrap = "/var/lib/bacula/Your_Server_Name.bsr"
Priority = 10
&#125;
Job &#123;
Name = "Restore Your_Server_Name"
Type = Restore
Client = Your_Server_Name-fd
FileSet = "Your_Server_Name Full Set"
Storage = Your_Server_NameFile
Messages = Standard
Pool = Your_Server_Name
Where = /tmp/bacula-restores/Your_Server_Name
Bootstrap = "/var/lib/bacula/Your_Server_Name.bsr"
&#125;
Job &#123;
Name = "Verify Your_Server_Name"
Type = Verify
Verify Job = "Backup Your_Server_Name"
Level = DiskToCatalog
Client = Your_Server_Name-fd
FileSet = "Your_Server_Name Verify Set"
Messages = Standard
Storage = Your_Server_NameFile
Pool = Your_Server_Name
Priority = 10
Schedule = "Your_Server_NameVerifyCycle"
&#125;
FileSet &#123;
Name = "Your_Server_Name Full Set"
Include &#123;
Options &#123;
compression = GZIP
signature = MD5
## This is where you define what you want backed up
&#125;
################################################################################################
##Please uncomment the directories you wish to backup or add custom ones. 
Dont't forget Verify##
################################################################################################

File = /etc

&#125;
&#125;
FileSet &#123;
Name = "Your_Server_Name Verify Set"
Include &#123;
Options &#123;
verify = pins5
signature = MD5
## This is where you define what you want checked on the file verifys
&#125;

File = /etc

&#125;
&#125;
## Define where the information sent by the fd should go 
Storage &#123;
Name = Your_Server_NameFile
Address = &#123;&#123;backup server IP&#125;&#125;
Password = st0rag3
Device = Your_Server_NameFileStorage
Media Type = File
&#125;
## This is where you define the IP you wish to connect to &#40;fd&#41;,
## the client name must match the fd name given on the server in the 
bacula-fd.conf
Client &#123;
Name = Your_Server_Name-fd
Address = &#123;&#123;ip_address_here&#125;&#125;
Password = &#123;&#123;password&#125;&#125;
Catalog = MySQL
AutoPrune = yes
&#125;
Pool &#123;
Name = Your_Server_Name
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 65 days
Maximum Volumes = 65
UseVolumeOnce = yes
LabelFormat = "Your_Server_Name-day-"
&#125;


Now I'm trying to wrap my head around this pool business, see this bit

Pool &#123;
Name = Your_Server_Name
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 65 days
Maximum Volumes = 65
UseVolumeOnce = yes
LabelFormat = "Your_Server_Name-day-"
&#125;

If I put 100 servers into a single pool, will I need to change maximum volumes 
to 6500? or should I just take that out entirely?

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] need to keep manually labelling new volumes, dobbin <=