Hello folks!
Long time Bacula User here, pure bliss. So far I "only" backed up my
personal servers and machines at home, but right now I am trying to
backup our company servers (300+).
I wrote scripts to add the clients to the server - everything just works
(tm).
Just one thing. Simultaneous backups. And I know where its going down
the drain. Some minor infor offhand:
Every Server...
- Should back up at 2 am in the morning,
- With a full on sat 2 am,
- max concurrent jobs is 10, so once a "slot" is freed, the next one
jumps in,
- Every Server has its own two pools: hostname-daily and hostname-weekly.
- They are all backing up to our bacula-sd server.
Config example for one server:
Pool {
Name = server1-daily
Pool Type = Backup
Maximum Volume Jobs = 1
Use Volume Once = yes
Catalog Files = yes
Recycle = yes
AutoPrune = yes
Volume Retention = 15 days
Recycle Oldest Volume = yes
Label Format = server1-daily-
Maximum Volumes = 16
}
Pool {
Name = server1-weekly
Pool Type = Backup
Maximum Volume Jobs = 1
Use Volume Once = yes
Catalog Files = yes
Recycle = yes
AutoPrune = yes
Volume Retention = 15 days
Recycle Oldest Volume = yes
Label Format = server2-weekly-
Maximum Volumes = 4
}
Client {
Name = server1
Address = x.x.x.x
FDPort = 9102
Catalog = MySQL
Password = "..."
}
Job {
Name = "Backup Host: server1"
client = "server1-fd"
type = backup
messages = Standard
storage = bacula-sd
pool = server1-daily
Level = Incremental
FileSet = "linuxserver"
Schedule = "server1"
Write Bootstrap = "/backup/bootstraps/server1.bsr"
Priority = 25
Maximum Concurrent Jobs = 1
}
Schedule {
Name = "server1"
Run = Level=Incremental Pool=server1-daily on SUN MON TUE WED THU FRI
at 02:00
Run = Level=Full Pool=server2-weekly on SAT at 2:00
}
Storage Config:
Storage {
Name = bacula-sd
SDPort = 9103
SDAddress = x.x.x.x
WorkingDirectory = "/var/spool/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 10
}
Device {
Name = StoreNode-01
Media Type = File
Archive Device = /backup
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
Maximum Network Buffer Size = "65536"
}
Device {
Name = StoreNode-02
Media Type = File
Archive Device = /backup
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
Maximum Network Buffer Size = "65536"
}
[up to StorageNode-10]
Director:
Director {
Name = bacula-dir
DIRport = 9101
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/spool/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 10
Password = "..."
Messages = Daemon
}
Storage {
Name = bacula-sd
Address = 172.20.53.207
SDPort = 9103
Password = "VWfHvmlLUcy2GmcyJFltkdPlkFYDta"
Device = StorageNode-01
Media Type = File
}
Now, everything works, but all but one client is stuck at the "waiting
for storage", which as I read is due to the fact that one Device can
only mount one Volume for the storage director.
What I want is that the Storage-D can write to 10 files at once (yes,
the hardware CAN do this).
I am open for alternate approaches to this matter.
What I can't do is mix server data from several servers into "one" file.
Disaster Recovery (bextract) would be hell (among other legal issues).
I even tried to generate a Storage Entry for the director for each file,
so that every Server has its own Device, but I can't redeclate the
Storage config.
I can't assign multiple Devices to the Storage Entry in the director.
Oh, running 2.4.4 here - don't ask :)
ANY help is gladly appreciated.
-Christian
--
Mit freundlichem Gruß
Christian Reiß
--
Symgenius GmbH & Co. KG
Full-Service-Provider
http://power-netz.de/
Tel: +49 (0) 5382 9 53 60 3 | Fax: +49 (0) 5382 9 53 61 0
Sitz: Bad Gandersheim | HRA 111051 | Amtsgericht Braunschweig
Haftende Gesellschafterin: Symgenius Verwaltungsgesellschaft mbH
Geschäftsführerin: Nicole Kühne | HRB111360 | Amtsgericht Braunschweig
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|