Hello,
On 12/27/2005 10:57 PM, Trevor Morrison wrote:
Hi,
I have no problems backing up a particular working server (RH 9) with
about 3.2 GB worth of data. I am testing out the restore of this
backup on another box and it will restore to the test box, but will try
to write 16 GB worth of data instead of just 3.2! It is only a 10 GB
drive to begin with. I have attached my bacula-fd and dir .conf file if
that can help find a solution.
it would be helpful to see some more detailed output, for example some
job report data. Perhaps there *are* much more than 3 GB of data for a
full restore... sparse files, hard links and a huge amount of changing
data can lead to what you observe.
Arno
TIA,
------------------------------------------------------------------------
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = stud-dir
Password = "HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = stud-mon
Password = "VrP8lmsqatXuth6F7sQMgJFWV87OdQeC1SHZLP0/5nEw"
Monitor = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon {
Name = stud-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/bacula/bin/working
Pid Directory = /usr/bacula/bin
Maximum Concurrent Jobs = 20
}
FileDaemon {
Name = porthos-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/bacula/bin/working
Pid Directory = /usr/bacula/bin
Maximum Concurrent Jobs = 20
}
FileDaemon {
Name = hailee1-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /usr/bacula/bin/working
Pid Directory = /usr/bacula/bin
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = stud-dir = all, !skipped
}
------------------------------------------------------------------------
#
# Default Bacula Director Configuration file
#
# The only thing that MUST be changed is to add one or more
# file or directory names in the Include directive of the
# FileSet resource.
#
# For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
# directives in the Messages resource.
#
Director { # define myself
Name = stud-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/usr/bacula/bin/query.sql"
WorkingDirectory = "/usr/bacula/bin/working"
PidDirectory = "/usr/bacula/bin"
Maximum Concurrent Jobs = 1
Password = "QiL5p4zWezlcHnUWGrMzPF+tIU30zZFsi0VSIpejHsdO" # Console
password
Messages = Daemon
}
Schedule {
Name = "Daily"
Run = Full Fri at 10:00am
Run = Differential sat-thu at 9:00am
}
Schedule {
Name = "Catalog"
Run = Full mon-sun at 11:00am
}
JobDefs {
Name = "Defaults"
Type = Backup
Schedule = "Daily"
Storage = 8mmDrive
Messages = Standard
Pool = Daily
Priority = 10
}
#
# Define the main nightly save backup job
# By default, this job will back up to disk in /tmp
Job {
Name = "stud"
JobDefs = "Defaults"
Client=stud-fd
FileSet="Full Set Stud"
Write Bootstrap = "/usr/bacula/bin/working/stud.bsr"
}
Job {
Name = "Porthos"
JobDefs = "Defaults"
Client=porthos-fd
FileSet="Full Set Porthos"
Write Bootstrap = "/usr/bacula/bin/working/porthos.bsr"
}
Job {
Name = "Hailee1"
JobDefs = "Defaults"
Client=hailee1-fd
FileSet="Full Set Hailee1"
Write Bootstrap = "/usr/bacula/bin/working/hailee1.bsr"
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "Defaults"
Client=stud-fd
FileSet="Catalog"
Schedule = "Catalog"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/usr/bacula/bin/make_catalog_backup bacula bacula"
# This deletes the copy of the catalog
RunAfterJob = "/usr/bacula/bin/delete_catalog_backup"
Write Bootstrap = "/usr/bacula/bin/working/BackupCatalog.bsr"
Priority = 15
}
# Standard Restore template, to be changed by Console program
Job {
Name = "Restore testbox"
Type = Restore
Client= testbox-fd
FileSet="Full Set Hailee1"
Storage = 8mmDrive
Pool = Daily
Messages = Standard
Where = /
}
# List of files to be backed up
FileSet {
Name = "Full Set Stud"
Include {
Options {
signature = MD5
onefs = yes
}
File = /
File = /var
File = /usr
File = /storage
File = /home
File = /boot
}
Exclude {
File = /tmp/*
File = /.journal
File = /.fsck
}
}
# List of files to be backed up
FileSet {
Name = "Full Set Porthos"
Include {
Options {
signature = MD5
onefs = yes
}
File = /
File = /var
File = /usr
File = /home
File = /boot
File = /chroot
}
Exclude {
File = /mnt/porthos/*
File = /tmp/*
File = /.journal
File = /.fsck
}
}
# List of files to be backed up
FileSet {
Name = "Full Set Hailee1"
Include {
Options {
signature = MD5
wilddir = /mnt/hailee
wilddir = /proc
wilddir = /tmp
wilddir = /.journal
wilddir = /.fsck
exclude = yes
}
File = /
File = /var
File = /usr
File = /home
File = /boot
}
Exclude {
File = /mnt
File = /tmp/*
File = /.journal
File = /.fsck
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /usr/bacula/bin/working/bacula.sql
}
}
# Client (File Services) to backup
Client {
Name = stud-fd
Address = stud.hailix.com
FDPort = 9102
Catalog = MyCatalog
Password = "HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB" # password
for FileDaemon
File Retention = 8 days # 30 days
Job Retention = 9 days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = porthos-fd
# Address = porthos.hailix.com
Address = 172.16.1.2
FDPort = 9102
Catalog = MyCatalog
Password = "HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB" # password
for FileDaemon
File Retention = 8 days # 30 days
Job Retention = 9 days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = hailee1-fd
# Address = hailee1.hailix.com
Address = 172.16.1.3
FDPort = 9102
Catalog = MyCatalog
Password = "HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB" # password
for FileDaemon
File Retention = 8 Days # 30 days
Job Retention = 9 Days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = testbox-fd
Address = 192.168.2.250
FDPort = 9102
Catalog = MyCatalog
#Password = "HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB" #
password for FileDaemon
Password = "" # password for FileDaemon
File Retention = 8 Days # 30 days
Job Retention = 9 Days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Storage {
Name = "8mmDrive"
# Do not use "localhost" here
#Address = stud.hailix.com # N.B. Use a fully qualified name
here
Address = 192.168.2.10 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "lAskEHzAgzWVO3xgy0DAPH8rBJ5pocgaXMRiRQmmNK5u"
Device = "Exabyte 8mm"
MediaType = "8mm"
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
# 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/bacula/bin/bsmtp -h hailee1.hailix.com -f \"\(Bacula\) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/bacula/bin/bsmtp -h hailee1.hailix.com -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 = "/usr/bacula/bin/working/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/bacula/bin/bsmtp -h hailee1.hailix.com -f \"\(Bacula\) %r\" -s
\"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/usr/bacula/bin/working/log" = all, !skipped
}
# Default pool definition
Pool {
Name = Daily
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
Recycle Current Volume= yes
AutoPrune = yes # Prune expired volumes
Volume Retention = 10 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 = stud-mon
Password = "S1+f60qKA6UdtDLgmupMxConk1XefZMJ3Z2gtzFiiZjt"
CommandACL = status, .status
}
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users