Hi there, I am a newish user of Bacula. We are running it at our school in Cape Town, South Africa. The bacula-dir.conf file is run from an Ubuntu 8.10 Linux box and we are backing up from Windows2003, this Ubuntu box and a few other Windows XP boxes. It would seem that the backups are fine. But when we test restore the following occurs: Restore to the Win XP box - everything seems to be there but when we restore the Windows2003 box only a few of the Directories are present and only a few files are present in each Dir.
I will include our bacula-dir.conf file below. Could anyone explain why the one box doesn't restore a complete set of data? (It seems almost as if only the most recent incrementals are restored - hard to tell). The problem must be somewhere in this file - but where!!! - Thanks Keith ========= bacula-dir.conf ========== # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # fileis or directory names in the Include directive of the # FileSet resource. # # For Bacula release 2.2.8 (26 January 2008) -- debian lenny/sid # Director { # define myself Name = Ku-gsps DIRport = 9101 # where we listen for UA connections QueryFile = "/root/bacula/bin/query.sql" WorkingDirectory = "/root/bacula/bin/working" PidDirectory = "/root/bacula/bin" Maximum Concurrent Jobs = 50 Password = "xxxxxxxx" # Console password Messages = Daemon # DirAddress = 127.0.0.1 } #JobDefs { # Name = "DefaultJob" # Type = Backup # Level = Incremental # Client = @hostn...@-fd # FileSet = "Full Set" # Schedule = "WeeklyCycle" # 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 # Job { # Name = "Client1" # JobDefs = "DefaultJob" # Write Bootstrap = "/var/lib/bacula/Client1.bsr" # } Job { Name = "Ku-Backup" Client = Ku-fd # JobDefs = "DefaultJob" Type = Backup Level = Incremental Fileset = "Kufiles" Schedule = "Daily Backup" Storage = KuFile Messages = Standard Pool = Kudata Incremental Backup Pool = Ku-incr Priority = 10 Write Bootstrap = "/var/lib/bacula/Client2.bsr" } Job { Name = "kth-Backup" Client = kth-fd # JobDefs = "DefaultJob" Type = Backup Level = Incremental Fileset = "kthfiles" Schedule = "Daily Backup" Storage = kthFile Messages = Standard Pool = kthdata Incremental Backup Pool = kth-incr Priority = 10 Write Bootstrap = "/var/lib/bacula/Client2.bsr" } Job { Name = "SRV03-Backup" Client = SRV03-fd # JobDefs = "DefaultJob" Type = Backup Level = Incremental Fileset = "s03files" Schedule = "Daily Backup" Storage = SRV03File Messages = Standard Pool = SRV03data Incremental Backup Pool = SRV03-incr Priority = 10 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 # # WARNING! # # Ubuntu uses make_catalog_backup_awk script for # # security reasons # # Replace <CatalogName> with the real Catalog name # RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v cat1=<CatalogName> /etc/bacula/bacula-dir.conf" # 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 ... ################################################################ #### kth is hashing out the below lines ---> Hope it is OK!!! ################################################################ ####Job { #### Name = "RestoreFiles" #### Type = Restore #### Client = Ku-fd #### FileSet = "Full Set" #### Storage = KuFile #### Pool = Kudata #### Messages = Standard #### Where = /bacula-restores ####} Job { Name = "Ku Restore" Type = Restore Client = Ku-fd FileSet = "Kufiles" Storage = KuFile Pool = Kudata Messages = Standard Where = /bacula-restore } Job { Name = "kth Restore" Type = Restore Client = kth-fd FileSet = "kthfiles" Storage = kthFile Pool = kthdata Messages = Standard Where = /bacula-restore } Job { Name = "SRV03 Restore" Type = Restore Client = SRV03-fd FileSet = "s03files" Storage = SRV03File Pool = SRV03data Messages = Standard Where = /bacula-restore } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } } } #==========Ku Files to be Backed up ==== FileSet { Name = "Kufiles" Include { File = /etc File = /home File = /var/lib/tftpboot/ltsp/i386/lts.conf Options { signature = MD5 } } } #====== kth's PC ==== # Note: Although Windows uses / not \ still use / below FileSet { Name = "kthfiles" Include { File = "d:/Downloads-1/" File = "d:/__Web_design" File = "d:/Web-design_old" Options { signature = MD5 } } } #====== SRV03 PC ===================== FileSet { Name = "s03files" Include { File = "e:/users/" File = "e:/TeacherResources/" File = "c:/taxis/" Options { signature = MD5 } } } # # File = /build/buildd/bacula-2.2.8/debian/tmp-build-sqlite # } # # 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 = "WeeklyCycle" # Run = Full 1st sun at 01:00 # Run = Differential 2nd-5th sun at 01:15 # Run = Incremental mon-sat at 01:30 #} # This schedule does the catalog. It starts after the WeeklyCycle #Schedule { # Name = "WeeklyCycleAfterBackup" # Run = Full sun-sat at 00:30 #} Schedule { Name = "Daily Backup" Run = Incremental mon-fri at 03:15 } # This is the backup of the catalog #FileSet { # Name = "Catalog" # Include { # Options { # signature = MD5 # } # File = /var/lib/bacula/bacula.sql # } #} # Client (File Services) to backup # Client { # Name = @hostn...@-fd # Address = @hostname@ # FDPort = 9102 # Catalog = MyCatalog # Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg" # password for FileDaemon # File Retention = 30 days # 30 days # Job Retention = 6 months # six months Client { Name = Ku-fd # Address = Ku kth HASHED THIS OUT # Address = 192.168.0.254 # FQDN_OR_IP Address = 192.168.0.254 # Address = 192.168.0.190 FDPort = 9102 Catalog = MyCatalog Password = xxxxxxxx # Strong_password File Retention = 5 days Job Retention = 6 months Autoprune = yes } Client { Name = kth-fd Address = 192.168.0.50 # Address = localhost FDPort = 9102 Catalog = MyCatalog Password = xxxxxxxx File Retention = 5 days Job Retention = 6 months Autoprune = yes } Client { Name = SRV03-fd # Address = 192.168.0.1 Address = 192.168.0.190 FDPort = 9102 Catalog = MyCatalog Password = xxxxxxxx File Retention = 5 days Job Retention = 6 months Autoprune = yes } # Second Client (File Services) to backup # You should change Name, Address, and Password before using # #Client { # Name = @hostn...@2-fd # Address = @hostn...@2 # FDPort = 9102 # Catalog = MyCatalog # Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cg2" # password for FileDaemon 2 # File Retention = 30 days # 30 days # Job Retention = 6 months # six months # AutoPrune = yes # Prune expired Jobs/Files #} # Definition of file storage device #Storage { # Name = File # Do not use "localhost" here # Address = @hostname@ # N.B. Use a fully qualified name here # SDPort = 9103 # Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj" # Device = FileStorage # Media Type = File #} # /etc Storage { Name = KuFile # Address = Ku.backup.server ! kth Hashed this out Address = 192.168.0.254 # Address = 192.168.0.190 SDPort = 9103 Password = "xxxxxxxx" Device = KuFile Media Type = File } # c:\Downloads Storage { Name = kthFile Address = 192.168.0.254 SDPort = 9103 Password = "xxxxxxxx" Device = kthFile Media Type = File } ## e:\Users Storage { Name = SRV03File Address = 192.168.0.254 SDPort = 9103 Password = "xxxxxxxx" Device = SRV03File Media Type = File } # 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 mailcommand = "/root/bacula/bin/bsmtp -h 192.168.0.8 -f \"\(Bacula\) \<%r\>\" -s \"(Bacula\) %r\" -s \"Bacula: %t %e of %c\" %r" operatorcommand = "/root/bacula/bin/bsmtp -h 192.168.0.8 -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = k...@gsps.co.za = all, !skipped mail = m...@ovs.co.za = all, !skipped operator = m...@ovs.co.za = mount operator = k...@gsps.co.za = 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 192.168.0.8 -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" mail = k...@gsps.co.za = 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 #} Pool { Name = Kudata Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "KuFullBackup" Volume Retention = 365 days } Pool { Name = Ku-incr Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "KuIncrBackup" Volume Retention = 1 days } Pool { Name = kthdata Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "kthFullBackup" Volume Retention = 1 days } Pool { Name = kth-incr Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "kthIncrBackup" Volume Retention = 1 days } Pool { Name = SRV03data Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "SRV03FullBackup" Volume Retention = 365 days } Pool { Name = SRV03-incr Pool Type = Backup Recycle = yes Autoprune = yes Label Format = "SRV03IncrBackup" Volume Retention = 1 days } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } # # Restricted console used by tray-monitor to get the status of the director # #Console { # Name = @hostn...@-mon # Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3L" # CommandACL = status, .status" #) ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users