Hi all

Today, I configure one client running concurrent jobs with bareos. This is my 
file configure.

----------------Pool-------------------
I created 2 pool (Full, Inc) for each jobs

/etc/bareos/bareos-dir.d/pool/Full_BackOffice.conf
Pool {
        Name = Full_BackOffice
        Pool Type = Backup
        #Use Volume Once = yes
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 14 days
        Maximum Volume Jobs = 1
        Label Format = Full-BackOffice-
        Maximum Volumes = 2
}

/etc/bareos/bareos-dir.d/pool/Inc_BackOffice.conf
Pool {
        Name = Inc_BackOffice
        Pool Type = Backup
        #Use Volume Once = yes
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 7 days
        Maximum Volume Jobs = 6
        Label Format = Inc-BackOffice-
        Maximum Volumes = 6
}

/etc/bareos/bareos-dir.d/pool/Full_PRD.conf
Pool {
        Name = Full_PRD
        Pool Type = Backup
        #Use Volume Once = yes
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 14 days
        Maximum Volume Jobs = 1
        Label Format = Full-PRD-
        Maximum Volumes = 2
}

/etc/bareos/bareos-dir.d/pool/Inc_PRD.conf
Pool {
        Name = Inc_PRD
        Pool Type = Backup
        #Use Volume Once = yes
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 7 days
        Maximum Volume Jobs = 6
        Label Format = Inc-PRD-
        Maximum Volumes = 6
}

------------------------Device-----------------------
/etc/bareos/bareos-sd.d/device/device_BackOffice.conf
Device {
        Name = device_BackOffice
        Media Type = File
        Archive Device = /var/lib/bareos/storage/BackOffice
        LabelMedia = yes
        Random Access = Yes
        AutomaticMount = yes
        RemovableMedia = no
        AlwaysOpen = no
        Maximum Concurrent Jobs = 2
}

/etc/bareos/bareos-sd.d/device/device_PRD.conf
Device {
        Name = device_PRD
        Media Type = File
        Archive Device = /var/lib/bareos/storage/PRD
        LabelMedia = yes
        Random Access = Yes
        AutomaticMount = yes
        RemovableMedia = no
        AlwaysOpen = no
        Maximum Concurrent Jobs = 2
}

----------------------Storage--------------------------
/etc/bareos/bareos-dir.d/storage/storage_BackOffice.conf
Storage {
        Name = storage_BackOffice
        Address = file-01
        Password = "AU+s+XMuizSPXwntEWKvhpSrZQLfWsV9SFD7Ml3EGziV"
        Device = device_BackOffice
        Media Type = File
        Maximum Concurrent Jobs = 2
}

/etc/bareos/bareos-dir.d/storage/storage_PRD.conf
Storage {
        Name = storage_PRD
        Address = file-01
        Password = "AU+s+XMuizSPXwntEWKvhpSrZQLfWsV9SFD7Ml3EGziV"
        Device = device_PRD
        Media Type = File
}

---------------------------fileset------------------------
/etc/bareos/bareos-dir.d/fileset/fileset_BackOffice.conf
FileSet {
   Name = "fileset_BackOffice"
   Enable VSS = yes
   Include {
      Options {
         Signature = MD5
         Drive Type = fixed
         IgnoreCase = yes
         WildFile = "[A-Z]:/pagefile.sys"
         WildDir = "[A-Z]:/RECYCLER"
         WildDir = "[A-Z]:/$RECYCLE.BIN"
         WildDir = "[A-Z]:/System Volume Information"
         wildfile = "*.j2k"
         wildfile = "*.exe"
         wildfile = "*.jpg"
         wildfile = "*.jpeg"
         wildfile = "*.zip"
         Exclude = yes
      }
      File = "F:/IT/TestBackup"
   }
}

/etc/bareos/bareos-dir.d/fileset/fileset_PRD.conf
FileSet {
   Name = "fileset_PRD"
   Enable VSS = yes
   Include {
      Options {
         Signature = MD5
         Drive Type = fixed
         IgnoreCase = yes
         WildFile = "[A-Z]:/pagefile.sys"
         WildDir = "[A-Z]:/RECYCLER"
         WildDir = "[A-Z]:/$RECYCLE.BIN"
         WildDir = "[A-Z]:/System Volume Information"
         wildfile = "*.j2k"
         wildfile = "*.exe"
         wildfile = "*.jpg"
         wildfile = "*.jpeg"
         wildfile = "*.zip"
         Exclude = yes
      }
      File = "G:/Shares/Outdate"
   }
}

------------------------job-----------------------
/etc/bareos/bareos-dir.d/jobdefs/jobdefs_BackOffice.conf
JobDefs {
        Name = "jobdefs_BackOffice"
        Type = Backup
        Level = Incremental
        FileSet = "fileset_BackOffice"
        Schedule = "schedule_abc"
        Storage = "storage_BackOffice"
        Messages = Standard
        Pool = Inc_BackOffice
        Full Backup Pool = Full_BackOffice
        Incremental Backup Pool = Inc_BackOffice
        Priority = 10
        Write Bootstrap = "/var/lib/bareos/%c.bsr"
}

/etc/bareos/bareos-dir.d/job/job_BackOffice.conf
Job {
        Name = "job_BackOffice"
        Client = file-01-fd
        JobDefs = "jobdefs_BackOffice"
}

/etc/bareos/bareos-dir.d/jobdefs/jobdefs_PRD.conf
JobDefs {
        Name = "jobdefs_PRD"
        Type = Backup
        Level = Incremental
        FileSet = "fileset_PRD"
        Schedule = "schedule_abc"
        Storage = "storage_PRD"
        Messages = Standard
        Pool = Inc_PRD
        Full Backup Pool = Full_PRD
        Incremental Backup Pool = Inc_PRD
        Priority = 10
        Write Bootstrap = "/var/lib/bareos/%c.bsr"
}

/etc/bareos/bareos-dir.d/job/job_PRD.conf
Job {
        Name = "job_PRD"
        Client = file-01-fd
        JobDefs = "jobdefs_PRD"
}

/etc/bareos/bareos-dir.d/client/file-01.conf
Client {
        Name = file-01-fd
        Address = file-01
        Password = "tW7fRW/wm6O81gX3efpCmbyKjNaaYWVYkeeetmDeOal0"
        # uncomment the following if using bacula
        # Catalog = "MyCatalog"
        AutoPrune = yes
        #Job Retention = 14 days
        #File Retention = 14 days
        Job Retention = 20 minutes
        File Retention = 20 minutes
}

--------------------schedule---------------------
/etc/bareos/bareos-dir.d/schedule/schedule_digi.conf
Schedule {
        Name = "schedule_digi"
        #Run = Level=Full fri at 22:00
        #Run = Level=Incremental sat-thu at 22:00

}

My issues:
1. 2 jobs is running concurrent. Only one job is running, other jos is queued.
2. I can not restore file 

How I fix these issue? Please help me. Thanks

Regards.
GLT

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to