Concurrent jobs on different storage devices

33 views
Skip to first unread message

Ramil

unread,
Mar 20, 2023, 1:35:00 PM3/20/23
to bareos-users
Hello!
Excuse me if I'm asking stupid questions again, but I'm stumped...

Concurrent jobs to different storage devices pointing to the same directory are executed in turn. This selects the same storage device, which is the first in the list.

My configuration:
/etc/bareos/bareos-dir.d/storage/VMstorage.conf
Storage {
  Name = VMwareStorage
  Address = 10.64.116.170         # N.B. Use a FQDN or IP here
  Password = "osXjYAI8c5M43NEIPmafdZhQMWs9Kn8iusHVbwzzyxF1"
  Media Type = File
  Maximum Concurrent Jobs = 100
  Device = bsk-hq-lt-mpos01_storage
  Device = srv-ftnc01_storage
  Device = srv-ubuntu01_storage
  Device = vl-awx01_storage
  Device = vl-qiwi01_storage
  Device = VL-NFCGW02_storage

   ....
  Device = vl-git01_storage
  Device = vl-nfcdb01_storage
  Device = vl-nfcelk01_storage
  Device = vl-nfcgw01_storage
 
}

Jobs config:

Job {
  Name = "vl-qiwi01-job"
  Client = "bareos-fd"
  Type = Backup
  Level = Incremental
  FileSet = "vl-qiwi01"
  Schedule = "WeeklyCycleVM_1"
  Storage = VMwareStorage
  Messages = Standard
  Pool = Inc-vl-qiwi01
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = Full-vl-qiwi01
  Incremental Backup Pool = Inc-vl-qiwi01
}
        ....
Job {
  Name = "VL-NFCGW02-job"
  Client = "bareos-fd"
  Type = Backup
  Level = Incremental
  FileSet = "VL-NFCGW02"
  Schedule = "WeeklyCycleVM_1"
  Storage = VMwareStorage
  Messages = Standard
  Pool = Inc-VL-NFCGW02
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = Full-VL-NFCGW02
  Incremental Backup Pool = Inc-VL-NFCGW02
}

Bareos Storage Daemon configuraton (on another server -10.64.119.170):
/etc/bareos/bareos-sd.d/device/FileStorage.conf
   ....
Device {
  Name = vl-qiwi01_storage
  Media Type = File
  Archive Device = /mnt/sd1/nfs/backup_shares/hq/bareos/vmware
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 1
}
    ....

Device {
  Name = VL-NFCGW02_storage
  Media Type = File
  Archive Device = /mnt/sd1/nfs/backup_shares/hq/bareos/vmware
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 1
}

Here is what I get:
20-Mar 22:17 bareos-dir JobId 1: Start Backup JobId 1, Job=vl-qiwi01-job.2023-03-20_22.17.24_27
20-Mar 22:17 bareos-dir JobId 1: Connected Storage daemon at 10.64.116.170:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
20-Mar 22:17 bareos-dir JobId 1:  Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
20-Mar 22:17 bareos-dir JobId 1: Probing client protocol... (result will be saved until config reload)
20-Mar 22:17 bareos-dir JobId 1: Connected Client: bareos-fd at localhost:9102, encryption: None
20-Mar 22:17 bareos-dir JobId 1:    Handshake: Cleartext
20-Mar 22:17 bareos-dir JobId 1:  Encryption: None
20-Mar 22:17 bareos-dir JobId 1: Created new Volume "Full-vl-qiwi01" in catalog.
20-Mar 22:17 bareos-dir JobId 1: Using Device "bsk-hq-lt-mpos01_storage" to write.
20-Mar 22:17 ct-bareos01-fd JobId 1:  Encryption: None
20-Mar 22:17 ct-bareos01-fd JobId 1: Connected Storage daemon at 10.64.116.170:9103, encryption: None
20-Mar 22:17 bareos-sd JobId 1: Labeled new Volume "Full-vl-qiwi01" on device "bsk-hq-lt-mpos01_storage" (/mnt/sd1/nfs/backup_shares/hq/bareos/vmware).
20-Mar 22:17 ct-bareos01-fd JobId 1: Extended attribute support is enabled
20-Mar 22:17 ct-bareos01-fd JobId 1: ACL support is enabled
20-Mar 22:17 bareos-sd JobId 1: Wrote label to prelabeled Volume "Full-vl-qiwi01" on device "bsk-hq-lt-mpos01_storage" (/mnt/sd1/nfs/backup_shares/hq/bareos/vmware)

_________________________________

20-Mar 22:20 bareos-dir JobId 2: Start Backup JobId 2, Job=VL-NFCGW02-job.2023-03-20_22.17.46_28
20-Mar 22:20 bareos-dir JobId 2: Connected Storage daemon at 10.64.116.170:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
20-Mar 22:20 bareos-dir JobId 2:  Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
20-Mar 22:20 bareos-dir JobId 2: Connected Client: bareos-fd at localhost:9102, encryption: None
20-Mar 22:20 bareos-dir JobId 2:  Handshake: Cleartext
20-Mar 22:20 bareos-dir JobId 2:  Encryption: None
20-Mar 22:20 bareos-dir JobId 2: Created new Volume "Full-VL-NFCGW02" in catalog.
20-Mar 22:20 bareos-dir JobId 2: Using Device "bsk-hq-lt-mpos01_storage" to write.
20-Mar 22:20 ct-bareos01-fd JobId 2:  Encryption: None
20-Mar 22:20 ct-bareos01-fd JobId 2: Connected Storage daemon at 10.64.116.170:9103, encryption: None
20-Mar 22:20 bareos-sd JobId 2: Labeled new Volume "Full-VL-NFCGW02" on device "bsk-hq-lt-mpos01_storage" (/mnt/sd1/nfs/backup_shares/hq/bareos/vmware).

bareos.jpg
There are many such concurred jobs.. I tested two
What am I doing wrong? Please, help

Reply all
Reply to author
Forward
0 new messages