Bacula-users

Re: [Bacula-users] What this error means?

2009-06-16 13:35:06
Subject: Re: [Bacula-users] What this error means?
From: Reynier Pérez Mira <rperezm AT uci DOT cu>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Tue, 16 Jun 2009 13:29:01 -0400
John Drescher wrote:
> Please post your bacula-dir.conf

Director {                            # define myself
   Name = serverbacula-dir
   Description = "Bacula Director Centro de Datos UCI"
   DIRport = 9101                # where we listen for UA connections
   DirAddress = 10.128.50.11
   QueryFile = "/etc/bacula/query.sql"
   WorkingDirectory = "/var/bacula/working"
   PidDirectory = "/var/run"
   Maximum Concurrent Jobs = 5
   Password = 
"shqjya3k7n8w673ieDj6fRkh2SciKrBL2GhB6RrasThBG2xYTufoY3chV3cvm6x9"  # 
Debe ser la misma contraseña contenida en el fichero bconsole.conf
   Messages = Daemon
   FD Connect Timeout = 5 min # tiempo durante el cual Bacula intentará 
contactar con el FD
   SD Connect Timeout = 5 min # tiempo durante el cual Bacula intentará 
contactar con el SD
}

#Trabajos - Clientes
@/etc/bacula/clients/salvasprod_centalad-fd.conf # DB Center

JobDefs {
   Name = "DefinicionPorDefectoParaCopias"
   Type = Backup
   Level = Incremental
   Storage = FileSAN
   Messages = Standard
   Priority = 5 #Es la opcion por defecto, a mayor numero menos prioridad
   Reschedule on error = yes
   Reschedule interval = 30 minutes
   Reschedule times = 2
   Max Start Delay = 1 hours
   Accurate = yes # permite verificar los ficheros con cambios despues 
de realizada la copia

   # Script para setear el proxy
   RunScript {
     RunsWhen = After
     RunsOnFailure = yes
     Command = /etc/bacula/scripts/send_beeper.sh
   }
}

# Copia mensual completa a la SAN
Schedule {
   Name = "ScheduleFull"
   Run = Full 1st sun at 4:00
   Run = Differential 2nd-5th sun at 2:00
   Run = Incremental mon-sat at 2:00
}

# Definition of file storage device
Storage {
   Name = FileSAN
   Address = 10.128.50.11                # N.B. Use a fully qualified 
name here
   SDPort = 9103
   Password = 
"w4RRaeX7ZnhQnN8sSgFcXHh42ApmAgn7ZfT6kf3wBtCLpJyfgtq75GNHswwbTk6L"
   Device = FileStorage_1
   Media Type = File
}

Catalog {
   Name = MyCatalog
   dbname = "bacula_db";
   dbuser = "bacula_user";
   dbpassword = "LW9DEjh5hVmqAweB"
   DB Address = 10.128.50.3
}

Messages {
   Name = Standard
   mailcommand = "/sbin/bsmtp -h 10.128.50.1 -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: %t %e of %c %l\" %r"
   operatorcommand = "/sbin/bsmtp -h 10.128.50.1 -f \"\(Bacula\) 
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
   mail = rperezm AT uci DOT cu = all, !skipped
   operator = rperezm AT uci DOT cu = mount
   console = all, !skipped, !saved
   append = "/var/bacula/working/log" = all, !skipped
}

Messages {
   Name = Daemon
   mailcommand = "/sbin/bsmtp -h 10.128.50.1 -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula daemon message\" %r"
   mail = rperezm AT uci DOT cu = all, !skipped
   console = all, !skipped, !saved
   append = "/var/bacula/working/log" = all, !skipped
}

Console {
   Name = serverbacula-mon
   Password = "ZKu3rWgOAqBXhQ57nURO58txSPTTgWIU8XcKbNKHuCNI"
   CommandACL = status, .status
}

And the content for salvasprod_centalad-fd.conf is this:
#Description: Backup the files include in FS for salvasprod_centalad-fd
#-----------------------------------------------------------------------
#Job Definition
Job {
   Name = "SP_Centalad-FD"
   JobDefs = "DefinicionPorDefectoParaCopias"
   Level = Incremental
   Client = salvasprod_centalad-fd
   FileSet = "SP_Centaladad-FS"
   Schedule = "ScheduleFull"
   Write Bootstrap = "/media/bacula_save/bootstrap_files/SP_Centalad.bsr"
   Priority = 5
   Pool = SP_Centaladad_Pool
}

#Client Definition
Client {
   Name = salvasprod_centalad-fd
   Address = 10.36.17.239
   FDPort = 9102
   Catalog = MyCatalog
   Password = "ARm7qyF3lJSBKJ9NRICUj+Ry3PRJ3EZN92EnilHFVb8/"
   File Retention = 1 years
   Job Retention = 1 years
}

#Pool Definition
Pool {
   Name = SP_Centaladad_Pool
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 1 year
   Recycle Oldest Volume = yes
   Maximum Volume Jobs = 1
   Label Format =  SP_Centaladad_Pool-
   Maximum Volumes = 1
}

#FileSet Definition
FileSet {
   Name = "SP_Centaladad-FS"
   Include {
     Options {
       signature = SHA1
       compression = GZIP
     }
     File = "/etc"
     File = "/data/backups/svn/herramientas/repo/"
   }
}

Regards

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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>