Bacula-users

[Bacula-users] Using a USB-Disk as Storage Media

2011-03-02 14:18:31
Subject: [Bacula-users] Using a USB-Disk as Storage Media
From: Soul <realsoulhunter AT yahoo DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 02 Mar 2011 11:36:37 +0100
Hi,

I am trying to use 4 separate USB-Disks as Storage-Media for Backups.

So... I made that the Backup-Disks are automatic mounted with autofs.

Every Client reaches the Director and the Storage-Deamon...

So far so good... but when the backup starts... its stand still with the
Message "Running"..... but without a Error Message...

I Only get the following:

*01-Mar 23:05 debianBack-dir JobId 14: No prior Full backup Job record
found.

*01-Mar 23:05 debianBack-dir JobId 14: No prior or suitable Full backup
found in catalog. Doing FULL backup.

*01-Mar 23:05 debianBack-dir JobId 14: Start Backup JobId14,
Job=Backup_DebianFile_Home.2011-03-01_23.05.00_06

*01-Mar 23:05 debianBack-dir JobId 14: Created new Volume
"Default-2011-03-01-14" in catalog.

*01-Mar 23:05 debianBack-dir JobId 14: Using Device "backup01"



Thats all...... so.. whats the Problem?


PS.: I do not use vchanger. The only comments I found about it, are 3<
Years old... So I thought that it is not anymore needed.




############# bacula-dir.conf ###############

...

Director {
  Name = debianBack-dir
  DIRport = 9101
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 1
  Password = "Cv70F6pf1t6pBopT4vQO"
  Messages = Daemon
  DirAddress = 192.168.111.4
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = debianBack-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = usb-harddisk
  Messages = Standard
  Pool = Default
  Priority = 10
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
}

Job {
  Name = "Backup DebianFile Home"
  Client = debianFile-fd
  JobDefs = "DefaultJob"
  FileSet = "Home"
}

...

FileSet {
  Name = "Home"
  Include {
    Options {
      signature = MD5
    }
    File = /home/
  }
}

...

Client {
  Name = debianFile-fd
  Address = "192.168.111.5"
  FDPort = 9102
  Catalog = MyCatalog
  Password = "yE0lR06A9CNgHprw5umpu1IJ"
  File Retention = 30 days            # 30 days
  Job Retention = 6 months            # six months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

...

Storage {
  Name = usb-harddisk
  Address = "192.168.111.2"
  SDPort = 9103
  Password = "wu5BMfEClha7mJPLa2Qu6FB"
  Device = backup01
  Device = backup02
  Device = backup03
  Device = backup04
  Media Type = File
}

...

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Label Format =
"${JobId}-${Client}-${JobName}-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}

...

############# bacula-fd.conf ###############

...

FileDaemon {
  Name = debianFile-fd
  FDport = 9102
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  FDAddress = 192.168.111.5
}

...

############# bacula-sd.conf ###############

...

Storage {
  Name = DebianXen-sd
  SDPort = 9103
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
  SDAddress = 192.168.111.2
}

...

Device {
Name = backup01
Media Type = File
Device Type = File
Archive Device = /mnt/backup01/magazine/
LabelMedia = yes
Random Access = yes
AutomaticMount = no
RemovableMedia = yes
MaximumOpenWait = 60
}

Device {
Name = backup02
Media Type = File
Device Type = File
Archive Device = /mnt/backup02/magazine/
LabelMedia = yes
Random Access = yes
AutomaticMount = no
RemovableMedia = yes
MaximumOpenWait = 60
}

Device {
Name = backup03
Media Type = File
Device Type = File
Archive Device = /mnt/backup03/magazine/
LabelMedia = yes
Random Access = yes
AutomaticMount = no
RemovableMedia = yes
MaximumOpenWait = 60
}

Device {
Name = backup04
Media Type = File
Device Type = File
Archive Device = /mnt/backup04/magazine/
LabelMedia = yes
Random Access = yes
AutomaticMount = no
RemovableMedia = yes
MaximumOpenWait = 60
}

...

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users