Others can confirm, but I have never had bareos have more than 200 jobs in the 
queue at a time.  Let the jobs finish,  but manually run the copy job again, it 
should grab more and more until it’s caught up and you can run it 
nightly/weekly etc.


Brock Palen
[email protected]
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting



> On Feb 24, 2021, at 3:56 AM, 'Rick Tuk' via bareos-users 
> <[email protected]> wrote:
> 
> LS,
> 
> I recently added a second storage daemon and a copy job to my configuration. 
> I use Selection Type = PoolUncopiedJobs to select the jobs to copy.
> I assumed that on the first run it would select all jobs in the read pool and 
> copy those to the next pool
> 
> It seems like the copy job does select all jobs that still need to  be 
> copied: JobId 32583: The following 2235 JobIds were chosen to be copied
> However only about 200 jobs are actually added to the queue and completed.
> 
> Either there is a limit of 200 I cannot seem to find in either the 
> documentation or my config files, or only a single job for a client is 
> actually copied in each run.
> 
> Any help would be very much appreciated.
> 
> Director config:
> Director {
>     Name = soteria
>     Dir Address = soteria
>     Dir Port = 9101
>     Password = “<password>"
>     Query File = "/usr/lib/bareos/scripts/query.sql"
>     Maximum Concurrent Jobs = 1
>     Messages = Daemon
>     Auditing = yes
> 
>     # Enable the Heartbeat if you experience connection losses
>     # (eg. because of your router or firewall configuration).
>     # Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd.
>     #
>     # Heartbeat Interval = 1 min
> 
>     Backend Directory = /usr/lib/bareos/backends
> 
>     # remove comment from "Plugin Directory" to load plugins from specified 
> directory.
>     # if "Plugin Names" is defined, only the specified plugins will be loaded,
>     # otherwise all director plugins (*-dir.so) from the "Plugin Directory".
>     #
>     # Plugin Directory = "/usr/lib/bareos/plugins"
>     # Plugin Names = ""
> }
> 
> Pool config:
> Pool {
>     Name = Local-Full
>     Pool Type = Backup
>     Recycle = yes
>     AutoPrune = yes
>     Storage = Local-Full
>     Next Pool = Remote-Full
>     File Retention = 12 months
>     Job Retention = 12 months
>     Volume Retention = 12 months
>     Maximum Volume Bytes = 25G
>     Label Format = full-
> }
> 
> Pool {
>     Name = Remote-Full
>     Pool Type = Backup
>     Recycle = yes
>     AutoPrune = yes
>     Storage = Remote-Full
>     File Retention = 12 months
>     Job Retention = 12 months
>     Volume Retention = 12 months
>     Maximum Volume Bytes = 25G
>     Label Format = full-remote-
> }
> 
> Storage config:
> Storage {
>     Name = Local-Full
>     Address = salus
>     SD Port = 9103
>     Password = “<password>"
>     Device = Local-Full
>     Media Type = File
> }
> 
> Storage {
>     Name = Remote-Full
>     Address = sancus
>     SD Port = 9103
>     Password = “<password>"
>     Device = Remote-Full
>     Media Type = File
> }
> 
> Schedule config:
> Schedule {
>     Name = "Default"
>     Run = Level=Full Pool=Local-Full   1st sat at 23:00
>     Run = Level=Differential Pool=Local-Diff FullPool=Local-Full  2nd-5th sat 
> at 23:00
>     Run = Level=Incremental Pool=Local-Inc FullPool=Local-Full 
> DifferentialPool=Local-Diff sun-fri at 23:00
> }
> 
> Copy job:
> Job {
>     Name = “CopyLocalToRemote"
>     Type = Copy
>     Level = Incremental
>     Storage = Local-Inc
>     Pool = Local-Inc
>     Full Backup Pool = Local-Full
>     Differential Backup Pool = Local-Diff
>     Incremental Backup Pool = Local-Inc
>     Selection Type = PoolUncopiedJobs
>     Schedule = "Default"
>     Messages = "Standard"
>     Priority = 14
> }
> 
> SD config on sales:
> Storage {
>     Name = salus
>     SD Address =  salus
>     SD Port = 9103
>     Maximum Concurrent Jobs = 20
> 
>     Backend Directory = /usr/lib/bareos/backends
> 
>     # remove comment from "Plugin Directory" to load plugins from specified 
> directory.
>     # if "Plugin Names" is defined, only the specified plugins will be loaded,
>     # otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
>     #
>     Plugin Directory = "/usr/lib/bareos/plugins"
>     # Plugin Names = ""
> }
> 
> SD config on sancus:
> Storage {
>     Name = sancus
>     SD Address =  sancus
>     SD Port = 9103
>     Maximum Concurrent Jobs = 20
> 
>     Backend Directory = /usr/lib/bareos/backends
> 
>     # remove comment from "Plugin Directory" to load plugins from specified 
> directory.
>     # if "Plugin Names" is defined, only the specified plugins will be loaded,
>     # otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
>     #
>     Plugin Directory = "/usr/lib/bareos/plugins"
>     # Plugin Names = ""
> }
> 
> Device config on sales:
> Device {
>     Name = Local-Full
>     Archive Device = /bareos/backup/full
>     Device Type = File
>     Media Type = File
>     Label Media = yes
>     Random Access = yes
>     Automatic Mount = yes
>     Removable Media = no
>     Always Open = no
>     Maximum Concurrent Jobs = 1
> }
> 
> Device config on sancus:
> Device {
>     Name = Remote-Full
>     Archive Device = /bareos/backup/full
>     Device Type = File
>     Media Type = File
>     Label Media = yes
>     Random Access = yes
>     Automatic Mount = yes
>     Removable Media = no
>     Always Open = no
>     Maximum Concurrent Jobs = 1
> }
> 
> Met vriendelijke groet / With kind regards,
> Rick Tuk 
> Senior DevOps Engineer
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/bareos-users/BFD997D1-46E3-42FD-BD73-894350EEC9AE%40mostwanted.io.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/635D5591-46CF-4DD2-A3A2-C6BFAD12A39C%40mlds-networks.com.

Reply via email to