Hi, I am a rookie about setting up Bacula, I have a Ubuntu server, which
Bacula is installed and I have a windows 2000 server client. When I try
to connect to the server thanks to wx-console (win32), I have this
error : Fatal Error : unable to authenticate with File Deamon.
This my config files
/etc/bacula/bacula-sd.conf
Storage { # definition of myself
Name = serveur-backup-ubuntu-sd
#Name = serveur-backup-ubuntu
SDPort = 9103 # Director's port
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 100
SDAddress = 192.168.133.131
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = serveur-backup-ubuntu-dir
Password="controle"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = serveur-backup-ubuntu-mon
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj"
Password = "controle"
Monitor = yes
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = FileStorage
Media Type = File
Archive Device = /home/marchenri/Desktop/backup
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
Name = Standard
director = serveur-backup-ubuntu-dir = all
}
/etc/bacula/bacula-dir.conf
Director { # define myself
Name = serveur-backup-ubuntu-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # Console
password
Password = "doume"
Messages = Daemon
DirAddress = 192.168.133.131
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Full
Client="windows 2000 server"
FileSet = "ms sql backup"
Schedule = "moncycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
# Define the main nightly save backup job
# By default, this job will back up to disk in /tmp
Job {
Name = "serveur-bd.tourisport.fr"
JobDefs = "DefaultJob"
Write Bootstrap = "/var/lib/bacula/serveur-bd.tourisport.fr.bsr"
}
#Job {
# Name = "Client2"
# Client = serveur-backup-ubuntu2-fd
# JobDefs = "DefaultJob"
# Write Bootstrap = "/var/lib/bacula/Client2.bsr"
#}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup <dbname> <user>
<password>"
# 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
# Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
Name = "RestoreFiles"
Type = Restore
Client="windows 2000 server"
FileSet="ms sql backup"
Storage = File
Pool = Default
Messages = Standard
Where = "c:/Document and Settings/admin/Bureau/base de donnée sport
away"
}
# List of files to be backed up
FileSet {
Name = "ms sql backup"
Include {
Options {
signature = MD5
compression = GZIP
recurse = yes
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitons such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula build
File = "c:/Documents and Settings/admin/Bureau/base de donnée sport
away"
}
#
# If you backup the root directory, the following two excluded
# files can be useful
#
# Exclude {
# File = /proc
# File = /tmp
# File = /.journal
# File = /.fsck
# }
}
#
# 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 = "moncycle"
Run = Full wed at 17:22
Run = Differential hourly at 17:24
Run = Differential hourly at 17:26
Run = Differential hourly at 17:30
# Run = Incremental mon-sat at 23:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full wed at 16:30
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /var/lib/bacula/bacula.sql
}
}
# Definition of file storage device
Storage {
Name = File
# Do not use "localhost" here
# Address = serveur-backup-ubuntu # N.B. Use a fully
qualified name here
Address = 192.168.133.131
SDPort = 9103
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj"
Password = "controle"
Device = FileStorage
Media Type = File
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; password = "@db_pswd@"
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
# to replace the %r in the from field (-f part) with a single valid
# email address in both the mailcommand and the operatorcommand.
#
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/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
#
# WARNING! the following will create a file that you must cycle from
# time to time as it will grow indefinitely. However, it will
# also keep all your messages if they scroll off the console.
#
append = "/var/lib/bacula/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -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 = 365 days # one year
Accept Any Volume = yes # write on any volume in the pool
}
#
# Restricted console used by tray-monitor to get the status of the
director
#
Console {
Name = serveur-backup-ubuntu-mon
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L"
Password = "controle"
CommandACL = status, .status
}
---------------------------------------file deamon of the windows 2000
server client-------------------------------------------
# List Directors who are permitted to contact this File daemon
#
Director {
Name = serveur-backup-ubuntu-dir
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg"
Password = "toto"
}
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = serveur-backup-ubuntu-mon
# Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg"
Password = "controle"
Monitor = yes
}
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = "windows 2000 server"
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run/bacula
Maximum Concurrent Jobs = 20
FDAddress = 192.168.133.128
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = serveur-backup-ubuntu-dir = all, !skipped, !restored
}
---------------------------------------------------------file
wx-console------------------------------------------------------------------
Director {
Name = serveur-backup-ubuntu-dir
DIRport = 9101
Address=192.168.133.131
Password = "doume"
How can I perform a backup ?
I need really this help because I do a work placement, I must test 4
four backup software and the deadline is friday 22 june
Thanks a lot !!!!!
___
Marc Henri Fernandez
Service Informatique
Tourisport company
[EMAIL PROTECTED]
ligne directe : 04 88 66 48 68 – Portable : 06 09 54 77 90
BP 109 – 13321 Marseille Cedex 16
Voyagez avec des spécialistes
www.clubaventure.fr randonneés & voyages
href="www.sport-away.com">www.sport-away.com destination passion
href="www.femmes-du-monde.com">www.femmes-du-monde.com l'aventure au
féminin
href="www.66nord.com">www.66nord.com le spécialiste des terres polaires
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users