Hello,
I set up my bareos backup a few days back with the goal of it doing a diff 
every day with 7 days retention time and a weekly VirtFull with two weeks 
retention time. 
Today was the first day it tried to create a VirtFull and it failed because it 
was missing "Next Pool" in the Pool definition for the daily pool. 
I did not know this was neccesary (and read online that it might be a bug) so I 
added it and rescheduled the job. Now it is hanging with "job xxx is waiting on 
max storage jobs" and doesn't move forward.

Any help would be appreciated, the storage deamon is not doing any jobs. For 
the Director and Storage the number of simultanious jobs is pretty high (20 and 
10)



All configs for the client:

Client {
  Name = "test01.censored.com-fd"
  Address = censored
  Password = censored

  ## Tuning
  AutoPrune = yes
  Maximum Concurrent Jobs = 1
  Heartbeat Interval = 1 Minute
  Passive = yes

  ## Cleanup
  File Retention = 2 weeks
  Job Retention = 2 weeks

  #TLS Enable = yes
  #TLS Require = yes
  #TLS CA Certificate File = "/etc/bareos/ssl/ca.pem"
  #TLS Certificate = "/etc/bareos/ssl/cert.pem"
  #TLS Key = "/etc/bareos/ssl/key.pem"
  #TLS Allowed CN = "test01.censored.com"
}

Job {
  Name = "test01.censored.com"
  Client = "test01.censored.com-fd"
  JobDefs = "DefaultUnix"

  ## Where to Backup
  Pool = "test01.censored.com-hetznerstorage01-7d"
  Full Backup Pool = "test01.censored.com-hetznerstorage01-2w"
  Next Pool = "test01.censored.com-hetznerstorage01-2w"
}

#######
#DAILY#
#######
Pool {
  Name = "test01.censored.com-hetznerstorage01-7d"
  Volume Retention = 7 days
  File Retention = 7 days
  Job Retention = 7 days

  Storage = "File"

  ## defaults
  Pool Type = Backup
  Maximum Volume Jobs = 1             # If you specify zero (the default), 
there is no limit. Set to 1 so one volume with unique label is created per 
backup is created
  Action On Purge = Truncate          # Truncate the volume when it is purged 
to regain space. BUG: doesn'
  Next Pool = "test01.censored.com-hetznerstorage01-2w"
  ##This is what I added after the error?!

  ## Volume Settings
  Recycle = no                        # Don't reuse old (pruned) volumes, as 
the volume name ist unique
  Auto Prune = yes                    # Yes (default), applies Volume Retention 
period when new Volume is
  Label Format = 
"${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}"
}

########
#WEEKLY#
########
Pool {
  Name = "test01.censored.com-hetznerstorage01-2w"
  Volume Retention = 2 weeks
  File Retention = 2 weeks
  Job Retention = 2 weeks

  Storage = "File"

  ## defaults
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Action On Purge = Truncate

  ## Volume Settings
  Recycle = no
  Auto Prune = yes
  Label Format = 
"${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}"
}


#########
#JobDefs#
#########
JobDefs {
  name = DefaultUnix
  Description = "Unix Standard Backup"
  FileSet = UnixDefault
  Priority = 10
  AllowMixedPriority = yes
  MaxVirtualFullInterval = 7 days
  Schedule = increment-virtualfull
  @/etc/bareos/bareos-dir.d/jobdefs/jobdefs.unix.include
}


################################
#The included file from JobDefs#
################################
## Default value for running manual backups
## Automated backups will overwrite this via the schedule
Level = Incremental

## Accurate is more IO-intensive, but needed to remove deleted files
## from incremental and differential backups.
## Absolutely required for virtualfull backups
Accurate = yes

## Performance Tweaks
Spool Attributes = yes
Maximum Concurrent Jobs = 1
Reschedule On Error = yes
Reschedule Interval = 600
Reschedule Times = 1
#Allow Mixed Priority = yes

## Handing of duplicated jobs
## See: 
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#directiveDirJobAllow
 Duplicate Jobs
Allow Duplicate Jobs = no                         # only one job per client at 
the same time
Cancel Lower Level Duplicates = yes               # will cancel a running 
incremental for a full
Cancel Queued Duplicates = yes                    # don't Queue new Jobs if we 
still have a running
Cancel Running Duplicates = no                    # don't Cancel jobs that are 
still running

## Other
Type = Backup
Prefer Mounted Volumes = no
Write Bootstrap = "/var/lib/bareos/%c.bsr"
Messages = Standard



##########
#SCHEDULE#
##########
Schedule {
  Description = "This should handle the timing"
  Name = "increment-virtualfull"
  Run = Level=Differential daily at 19:00
  Run = Level=VirtualFull mon at 15:00
}



-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/b0e335a7-83ba-442c-95a9-0037aeae471f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to