Hi,

At first, excuse my english, i'm french...

Bacula works fine on my Debian Sarge + LTO2, and I use gnome console. I defined jobs in bacula-dir.conf and run the jobs with command line in gnome-console works fine.
But, I have 2 questions :
- on gnome-console the buttons "run", "restore" and "label" didn't work. The dialog appears, but all fields are empty. Where this dialog is looking for jobs information? in bacula-dir.conf I suppose... I really would like to use this feature, because sometime non-linux users have to use this program (I need holidays, too!) and they are lost with command line :) NB: at first i though it was a password issue, but all .conf files have their password properly configured. And the fact that command line works tell me that the problem comes from somewhere else. The buttons "connect" and "msgs" works (even if mesgs return always "no message". the /var/log/bacula/log and /var/log/bacula/bacula.log didn't tell anything about this problem.

- the second question is probably for debian users only : I installed bacula with apt-get but it seems that the monitor isn't included in debian package, could someone confirm that? Is the only solution compiling bacula to get it? I prefer using apt, because the update is automated. Anyway, tray-monitor is secondary, mail function is pretty sufficient for me.

Thank you!

My configuration :
Dell Poweredge 1850
LTO2 certance (powervault 110T)
Debian Sarge 3.1 with custom kernel 2.6.12
Bacula installation by apt-get

my actual /etc/bacula/bacula-dir.conf :
# ----------------------------------------------------------------------------------
#  Bacula Director Configuration file ETRANGES LIBELLULES
# ----------------------------------------------------------------------------------
#

# Configuration DIRECTOR
Director {
 Name = server02-dir
 DIRport = 9101
 QueryFile = "/etc/bacula/scripts/query.sql"
 WorkingDirectory = "/var/lib/bacula"
 PidDirectory = "/var/run/bacula"
 Maximum Concurrent Jobs = 1
 Password = "***********"
 Messages = Daemon
}


# ----------------------------------------------------------------------------------
# BACKUP JOBS
# Template
JobDefs {
 Name = "Weekly"
 Type = Backup
 Level = Full
 Client = server02-fd
 FileSet = "Weekly"
 Schedule = "Weekly"
 Storage = LTO-2
 Messages = Standard
 Pool = Weekly
 Priority = 10
}

#
Job {
 Name = "Weekly"
 JobDefs = "Weekly"
 Write Bootstrap = "/var/lib/bacula/Client1.bsr"
}

# Backup the catalog database (after the nightly save)
Job {
 Name = "Catalog"
 JobDefs = "Weekly"
 FileSet="Catalog"
 Schedule = "WeeklyCycleAfterBackup"
 # This creates an ASCII copy of the catalog
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -ubacula -p***********"
 # This deletes the copy of the catalog
 RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
 Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
 Priority = 11                   # run after main backup
}

# Standard Restore template, to be changed by Console program
Job {
 Name = "RestoreFiles"
 Type = Restore
 Client=server02-fd
 FileSet="Weekly"
 Storage = File
 Pool = Default
 Messages = Standard
 Where = /mnt/SAN01/vd6_backup/restore
}


# List of files to be backed up
FileSet {
 Name = "Weekly"
 Include {
   Options {
     signature = MD5
     compression = GZIP6
   }
   File = /mnt/SAN01/vd2_gestion
   File = /mnt/SAN01/vd5_projet
 }

 Exclude {
   File = /mnt/SAN01/vd2_gestion/lost+found
   File = /mnt/SAN01/vd5_projet/lost+found
 }
}

#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
Schedule {
 Name = "Weekly"
 Run = Level=Full mon-fri at 23:50
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
 Name = "WeeklyCycleAfterBackup"
 Run = Level=Full mon-fri at 23:50
}

# This is the backup of the catalog
FileSet {
 Name = "Catalog"
 Include {
   Options {
     signature = MD5
     compression = GZIP6
   }
   File = /var/lib/bacula/bacula.sql
 }
}

# Client (File Services) to backup
Client {
 Name = server02-fd
 Address = server02
 FDPort = 9102
 Catalog = MyCatalog
 Password = "***********"
 File Retention = 1 years
 Job Retention = 1 years
 AutoPrune = yes
}

# Definiton of file storage device
Storage {
 Name = File
# Do not use "localhost" here
 Address = server02                # N.B. Use a fully qualified name here
 SDPort = 9103
 Password = "***********"
 Device = FileStorage
 Media Type = File
}

Storage {
 Name = LTO-2
 Address = server02
 SDPort = 9103
 Password = "***********"
 Device = LTO-2
 Media Type = LTO-2
}

# Generic catalog service
Catalog {
 Name = MyCatalog
dbname = bacula; DB Address = localhost; user = bacula; password = "***********"
}

Messages {
 Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h 192.168.1.1 -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h 192.168.1.1 -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
 mail = [EMAIL PROTECTED] = all, !skipped
 operator = [EMAIL PROTECTED] = mount
 console = all, !skipped, !saved
 append = "/var/lib/bacula/log" = all, !skipped
}


#
# Message delivery for daemon messages (no job).
Messages {
 Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h 192.168.1.1 -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
 mail = [EMAIL PROTECTED] = all, !skipped
 console = all, !skipped, !saved
 append = "/var/lib/bacula/log" = all, !skipped
}




# Default pool definition
Pool {
 Name = Default
 Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
 AutoPrune = yes                     # Prune expired volumes
 Volume Retention = 1 years          # one year
 Accept Any Volume = yes             # write on any volume in the pool
}

Pool {
 Name = Weekly
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 1 week
 Accept Any Volume = yes
}

Pool {
 Name = Archive
 Pool Type = backup
 Recycle = no
 AutoPrune = yes
 Volume Retention = 3 years
 Accept Any Volume = yes
}

#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
 Name = server02-mon
 Password = ""
 CommandACL = status, .status
}



**

--
-------------------------------------
Sylvain DAVID / Administrateur réseau

Etranges Libellules
17 Rue des Archers
69002 LYON
tel : 04 72 40 24 72
fax : 04 72 40 27 19
-------------------------------------



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to