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 {
Name = "Your_Server_NameMonthlyCycle"
Run = Level=Full on 1 at {{ti:me}}
Run = Level=Incremental on 2-31 at {{ti:me}}
}
Schedule {
Name = "Your_Server_NameVerifyCycle"
Run = Level=DiskToCatalog sat at {{ti:me}}
}
Job {
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
}
Job {
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"
}
Job {
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"
}
FileSet {
Name = "Your_Server_Name Full Set"
Include {
Options {
compression = GZIP
signature = MD5
## This is where you define what you want backed up
}
################################################################################################
##Please uncomment the directories you wish to backup or add custom ones.
Dont't forget Verify##
################################################################################################
File = /etc
}
}
FileSet {
Name = "Your_Server_Name Verify Set"
Include {
Options {
verify = pins5
signature = MD5
## This is where you define what you want checked on the file verifys
}
File = /etc
}
}
## Define where the information sent by the fd should go
Storage {
Name = Your_Server_NameFile
Address = {{backup server IP}}
Password = st0rag3
Device = Your_Server_NameFileStorage
Media Type = File
}
## This is where you define the IP you wish to connect to (fd),
## the client name must match the fd name given on the server in the
bacula-fd.conf
Client {
Name = Your_Server_Name-fd
Address = {{ip_address_here}}
Password = {{password}}
Catalog = MySQL
AutoPrune = yes
}
Pool {
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-"
}
Now I'm trying to wrap my head around this pool business, see this bit
Pool {
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-"
}
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
|