Greetings All,
I am new to Bacula so please forgive my lack of knowledge. I configured Bacula director. The backup Job is
correctly, but I have an error in restore Job.
RestoreFiles.2006-09-25_13.44.37 Error: Bacula
1.38.11 (28Jun06): 25-set-2006 13:44:39
JobId: 14 Job: RestoreFiles.2006-09-25_13.44.37 Client: redoranas-fd Start time: 25-set-2006 13:44:39 End time: 25-set-2006 13:44:39 Files Expected: 0 Files Restored: 0 Bytes Restored: 0 Rate: 0,0 KB/s FD Errors: 1 FD termination status: SD termination status: Termination: *** Restore Error *** the bacula-dir.conf
Director
{
# define myself
Name = redoranas-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/var/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "pippo" # Console password Messages = Daemon } # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = "TEST-BACKUP" Type = Backup #JobDefs = "DefaultJob" Client = redoranas-fd FileSet = "Full Set" Storage = Ultrium Write Bootstrap = "/var/bacula/TEST-BACKUP.bsr" Pool = Default Messages = Standard #FileSet = "Full Set" #Schedule = "WeeklyCycleAfterBackup" #Valutare se togliere } # 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=redoranas-fd FileSet="Full Set" Storage = "Ultrium" Pool = Default Messages = Standard #BootStrap = "/var/bacula/TEST_BACKUP.bsr" Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } # # 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 # directory to give a reasonable FileSet to backup to # disk storage during initial testing. # File = /DBOracleV2 } #
# If you backup the root directory, the following two excluded # files can be useful # Exclude { File = /proc File = /tmp File = /.journal File = /.fsck } } # This is the backup of the catalog FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = /var/bacula/bacula.sql } } # Client (File Services) to backup
Client { Name = redoranas-fd Address = redoranas FDPort = 9102 Catalog = MyCatalog Password = "abcdef" # password for FileDaemon 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 = Ultrium # Do not use "localhost" here Address = redoranas # N.B. Use a fully qualified name here SDPort = 9103 Password = "abcdef" Device = Ultrium Media Type = LTO } # 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/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/sbin/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/bacula/log" = all, !skipped } # # Message delivery for daemon messages (no job). Messages { Name = Daemon mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all, !skipped console = all, !skipped, !saved append = "/var/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 = redoranas-mon Password = "abcdef" CommandACL = status, .status } -
|
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users