Bacula-users

[Bacula-users] Bacula copy jobs failing

2014-07-17 22:31:26
Subject: [Bacula-users] Bacula copy jobs failing
From: tufler_silviu <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 04 Jul 2014 07:53:42 -0700
Hy. I have configured 2 servers: 1 with dir and sd and another one only with sd 
that is considered the remote server that will be used only for copy jobs.

dir name: linux1-dir
local storage name: linux1-sd
remote storage name: backup-ct-sd

04-Jul 17:37 linux1-dir JobId 122: Start Copying JobId 122, 
Job=job-backup-silviu-fisiere-copy.2014-07-04_17.37.16_08
04-Jul 22:37 backup-ct-sd JobId 122: Fatal error: Device reservation failed for 
JobId=122:
04-Jul 17:37 linux1-dir JobId 122: Fatal error:
     Storage daemon didn't accept Device "linux1-storage" because:
     3924 Device "linux1-storage" not in SD Device resources or no matching 
Media Type.
04-Jul 17:37 linux1-dir JobId 122: Error: Bacula linux1-dir 5.2.12 (12Sep12):



--------------
Local DIR:

# Definition of file storage device
Storage {
  Name = Local-file-storage-device
  Address = linux1.domain.com
  SDPort = 9103
  Password = "1234"
  Device = linux1-storage
  Media Type = Local-file
}


Storage {
  Name = File-Constanta-silviu-storage
  Address = backup-ct.domain.com
  SDPort = 9103
  Password = "1234"
  Device = ct-storage
  Media Type = Local-file
}
--------------------------------------

Local SD

Device {
  Name = linux1-storage
  Media Type = Local-file
  Archive Device = /tmp
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

-----------------------------------------

Remote SD

Device {
  Name = ct-storage
  Media Type = Local-file
  Archive Device = /storage1/silviu
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
}

--------------------------------------------

job detail configurations in separate file silviu.conf included in 
bacula-dir.conf file


Storage {
  Name = storage-local-fisiere
  Password = "1234"
  Address = linux1.domain.com
  SDPort = 9103
  Device = linux1-storage
  Media Type = Local-file
  Maximum Concurrent Jobs = 10
  Heartbeat Interval = 60
}

Storage {
  Name = File-Constanta-storage1-silviu
  Address = backup-ct.domain.com
  SDPort = 9103
  Password = "1234"
  Device = ct-storage
  Media Type = Local-file
  Maximum Concurrent Jobs = 10
  Heartbeat Interval = 60
}

Pool {
  Name = pool-silviu-fisiere
  Pool Type = Backup
  Storage = storage-local-fisiere
  Volume Retention = 1 months
  LabelFormat = "Silviu-fisiere-"
  UseVolumeOnce = yes
  Recycle = yes
  AutoPrune = yes
  Next Pool = pool-silviu-fisiere-constanta
}


Pool {
  Name = pool-silviu-fisiere-constanta
  Pool Type = Copy
  Storage = File-Constanta-storage1-silviu
  Volume Retention = 1 months
  LabelFormat = "Silviu-fisiere-copy-"
  UseVolumeOnce = yes
  Recycle = yes
  AutoPrune = yes
}

Job {
  Name = job-backup-silviu-fisiere
  Type = Backup
  Pool = pool-silviu-fisiere
  Client = silviu-fd
  FileSet = silviu-fisiere
  Schedule = orar-backup-silviu-fisiere
  Storage = storage-local-fisiere
  Messages = Standard
  Write Bootstrap = "/var/lib/bacula/%c_%n.bsr"
}

Job {
  Name = job-backup-silviu-fisiere-copy
  Type = Copy
  Pool = pool-silviu-fisiere
  Client = silviu-fd
  FileSet = silviu-fisiere
  Schedule = orar-backup-silviu-fisiere
  Storage = File-Constanta-storage1-silviu
  Messages = Standard
  Write Bootstrap = "/var/lib/bacula/%c_%n.bsr"
  Selection Type = PoolUncopiedJobs

--------------------------------------------------------------------------

+----------------------------------------------------------------------
|This was sent by tufler_silviu AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Bacula copy jobs failing, tufler_silviu <=