-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Arno Lehmann wrote:
> Josh Endries wrote:
>
> Is it possible to have multiple clients back up nightly to a bacula
> server with one autochanger?
>
>> Yes.
Okay, that's good news...now to just get it working. ;)
>> Should be in the manual. You're on the right track, though.
>> Take care wich pools you use, though - that's something that is greatly
>> improved with the current development, but using the 1.36 version it's
>> your duty to make sure that only tapes from one pool are in the
>> autochanger and only this pool is needed.
I did what I found in the manual. Most concurrency settings are fine
by default, there was two changes I think (Director and Job?). I
relabeled all the tapes in the changer (that weren't labeled or had
other labels) and put them all in the same pool but it still isn't
working... Here is my config, maybe something is wrong that I don't
understand or I'm missing. I've tried everything I can think of...
bacula-dir.conf:
Director {
Name = backup-dir
DIRport = 9101
QueryFile = "/usr/local/share/bacula/query.sql"
WorkingDirectory = "/var/db/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 4
Password = ""
Messages = Standard
}
Job {
Client = "client1"
Name = "client1 Daily Backup"
Spool Data = yes
Type = Backup
WriteBootstrap = "/var/db/bacula/backup.bsr"
Priority = 1
Messages = Standard
FileSet = "Full System"
Schedule = "Daily Backup"
Storage = "EXABYTE VXA AutoPak 1x10 E33a"
Pool = Weekly
Full Backup Pool = Weekly
Level = Full
Maximum Concurrent Jobs = 4
Spool Data = yes
}
Job {
Client = "client2"
Name = "client2 Daily Backup"
Spool Data = yes
Type = Backup
WriteBootstrap = "/var/db/bacula/backup.bsr"
Priority = 1
Messages = Standard
FileSet = "Full System"
Schedule = "Daily Backup"
Storage = "EXABYTE VXA AutoPak 1x10 E33a"
Pool = Weekly
Full Backup Pool = Weekly
Level = Full
Maximum Concurrent Jobs = 4
Spool Data = yes
}
Client {
Name = "client1"
Address = client1
Catalog = MyCatalog
Password = ""
}
Client {
Name = "client2"
Address = client2
Catalog = MyCatalog
Password = ""
}
FileSet {
Name = "Full System"
Include {
Options {
Signature = SHA1
Compression = GZIP6
Verify = ipnugs1
}
File = /root
File = /home
File = /etc
File = /usr/local/etc
File = /var
}
Exclude {
File = /var/db/pgsql
File = /var/db/mysql
File = /var/chroot/mysql/var/db/mysql
File = /var/cvs
File = /var/tmp
File = /usr/bacula
}
}
Schedule {
Name = "Daily Backup"
Run = hourly
}
Storage {
Name = "EXABYTE VXA AutoPak 1x10 E33a"
Media Type = "ECRIX VXA-1 2B7B"
Address = backup
Password = ""
Device = "EXABYTE VXA AutoPak 1x10 E33a"
Autochanger = yes
}
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
Messages {
Name = Standard
mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\)
%r\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/local/sbin/bsmtp -h localhost -f
\"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
syslog = all, !skipped, !saved
append = "/var/db/bacula/log" = all, !skipped
}
Pool {
Name = Weekly
Pool Type = Backup
Recycle = yes
Volume Retention = 21 days
Recycle Oldest Volume = yes
}
bacula-fd.conf:
FileDaemon {
Name = backup-fd
FDport = 9102
WorkingDirectory = /var/db/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
}
Director {
Name = backup-dir
Password = ""
}
Messages {
Name = Standard
director = backup-dir = all, !skipped
}
bacula-sd.conf:
Director {
Name = backup-dir
Password = ""
}
Storage {
Name = "backup"
WorkingDirectory = "/var/db/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 30
}
Device {
Name = "EXABYTE VXA AutoPak 1x10 E33a"
Media Type = "ECRIX VXA-1 2B7B"
Autochanger = Yes
Changer Device = /dev/pass0
Changer Command = "/usr/local/share/bacula/my-changer %c %o %S %a %d"
Archive Device = /dev/nsa0
Spool Directory = "/usr/bacula"
Maximum Spool Size = 10gb
Automatic Mount = yes
Random Access = no
Removable media = Yes
Close on Poll= Yes
Always Open = yes
Offline on Unmount = yes
BSF at EOM = yes
}
Messages {
Name = Standard
director = backup-dir = all
}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDDMceV/+PyAj2L+IRAnZMAKCVopXxHVFHk8r7KeBYaXMkFjx0oACfTtuM
a9mxVaG5EyDQrpYm6r+A/qU=
=Kewz
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users