Bacula-users

[Bacula-users] Problems getting restore to work

2010-04-12 17:17:12
Subject: [Bacula-users] Problems getting restore to work
From: Jerry Lowry <jlowry AT edt DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 12 Apr 2010 14:15:05 -0700
Hi,  I am still tweaking a new installation of bacula 5.0.1 on Centos 5.4.  The backups work fine but I am trying to get the restore to work and I keep getting the following errors:

Volume "hardware-0014" to file:block 7:2933114700.
10-Apr 12:51 swift-fd JobId 118: Error: restore.c:1133 Write error on /backup0/bacula-restores/home/hardware/pdf/altera/quartus/81_linux/81_nios2eds_linux.tar: No space left on device
The volume is a disk drive and I am trying to restore it to a dedicated restore directory on a different disk.  I have checked the config files with an old set that I was running under 1.38 and it look very similar( ie names of pools and disks were changed).

thanks

Here are my config files ( directory and storage):
#
# Standard Restore template, to be changed by Console program
#  Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
  Name = "RestoreHardware"
  Type = Restore
  Client=distress-fd                
  FileSet="Swift Hardware Set"                 
  Storage = File1                     
  Pool = Restore
  Messages = Standard
  Where = /backup0/bacula-restores
}
# List of files to be backed up
FileSet {
  Name = "Swift Hardware 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 partitions such as /usr or /home
#    you will probably want to add them too.
#
    File = /home/hardware
  }

#
# If you backup the root directory, the following two excluded
#   files can be useful
#
  Exclude {
#    File = /var/run/bacula/working
#    File = /tmp
#    File = /proc
#    File = /tmp
#    File = /.journal
#    File = /.fsck
  }
}
Storage {
  Name = File0               # used for database and restores only
# Do not use "localhost" here   
  Address = distress                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = ""
  Device = FileStorage0
  Media Type = File
}


# Definition of file storage device
Storage {
  Name = File1               # used for home/hardware
# Do not use "localhost" here   
  Address = distress                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = ""
  Device = FileStorage1
  Media Type = File
}
# Default tape pool definition
Pool {
  Name = Restore
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days         # one month
}

# File Pool definition
Pool {
  Name = Pool0
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 7 days         # one week
  Maximum Volume Bytes = 500G          # Limit Volume size to something reasonable
  Maximum Volumes = 2               # Limit number of Volumes in Pool
}

# File Pool definition
Pool {
  Name = Pool1
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 7 days         # one week
  Maximum Volume Bytes = 500G          # Limit Volume size to something reasonable
  Maximum Volumes = 2               # Limit number of Volumes in Pool
  Label Format = "hardware-"
}
**************
bacula-sd
Device {
  Name = Restore
  Media Type = File
  Archive Device = /backup0/bacula-restores
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = FileStorage0
  Media Type = File
  Archive Device = /backup0/DBB
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = FileStorage1
  Media Type = File
  Archive Device = /backup1
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users