Still having problems where clients using AI having their Virtual Fulls
getting blown away before they should be. I assume this is a configuration
error but cannot figure out why.
Symptoms are run Consolidate job, two VirtualFulls jobs run, one runs, the
next one runs and finds ‘all records on volume purged recycling’ but why was
the first job get purged it just ran before the second job! I keep losing
fulls and having to do new full’s and having clients not protected.
Two VirtualFulls jobs created from same Consolidate Job
17526
17527 <— This one recycles volumes written by the other.
10-Oct 22:01 myth-dir JobId 17526: Start Virtual Backup JobId 17526,
Job=sch-hp-desktop-Users-Pictures.2019-10-10_22.01.46_11
10-Oct 22:01 myth-dir JobId 17526: Consolidating JobIds 17328,17482,17522
10-Oct 22:02 myth-dir JobId 17526: Bootstrap records written to
/var/lib/bareos/myth-dir.restore.5.bsr
<snip>
Volume name(s):
AI-Consolidated-1634|AI-Consolidated-1650|AI-Consolidated-1591|AI-Consolidated-1647|AI-Consolidated-1637|AI-Consolidated-1606|AI-Consolidated-1581
Volume Session Id: 5
Volume Session Time: 1570755807
Last Volume Bytes: 4,729,450,308 (4.729 GB)
SD Errors: 0
SD termination status: OK
Accurate: yes
Bareos binary info: bareos.org build: Get official binaries and vendor
support on bareos.com
Termination: Backup OK
10-Oct 23:51 myth-dir JobId 17526: purged JobIds 17328,17482,17522 as they were
consolidated into Job 17526
10-Oct 23:51 myth-dir JobId 17526: Begin pruning Jobs older than 6 months .
10-Oct 23:51 myth-dir JobId 17526: No Jobs found to prune.
10-Oct 23:51 myth-dir JobId 17526: Begin pruning Files.
10-Oct 23:51 myth-dir JobId 17526: No Files found to prune.
10-Oct 23:51 myth-dir JobId 17526: End auto prune.
Second VirtualFull (same client different job)
11-Oct 00:14 myth-dir JobId 17527: There are no more Jobs associated with
Volume "AI-Consolidated-1634". Marking it purged.
11-Oct 00:14 myth-dir JobId 17527: All records pruned from Volume
"AI-Consolidated-1634"; marking it "Purged"
11-Oct 00:14 myth-dir JobId 17527: Recycled volume "AI-Consolidated-1634”
Why? Why does the second job think AI-Consolidated-1634 has no records? The
retention time for the volume is 6 months, and I would expect jobs to be purged
over time as they are Consolidated. But I just had 200+ GB full backup get
blown away.
Pool:
Pool {
Name = AI-Consolidated
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle
Volumes
Auto Prune = yes # Prune expired volumes
Volume Retention = 6 months # How long should jobs be kept?
Maximum Volume Bytes = 50G # Limit Volume size to something
reasonable
Label Format = "AI-Consolidated-"
Volume Use Duration = 7 days
Storage = File
Next Pool = Longterm # copy jobs write to this pool
Action On Purge=Truncate
Migration Time = 7 days
}
Client {
Name = sch-hp-desktop-fd
FDport = 9102
Address = <snip>
Maximum Concurrent Jobs = 1
Catalog = myth_catalog
Password = “<snip>"
File Retention = 3 months
Job Retention = 6 months
AutoPrune = yes
Connection From Client To Director = yes
Connection From Director To Client = no
Heartbeat Interval = 60
}
Job {
Name = "sch-hp-desktop-Users-Pictures"
JobDefs = "DefaultJobAI"
FileSet = "Windows All Users Pictures"
Client = "sch-hp-desktop-fd"
Schedule = "LateNight"
Messages = Schrauben
}
# Always Incremental Settings
AlwaysIncremental = yes
AlwaysIncrementalJobRetention = 2 weeks
Always Incremental Keep Number = 7
Always Incremental Max Full Age = 1 month
Pool = AI-Incremental
Full Backup Pool = AI-Consolidated
Brock Palen
1 (989) 277-6075
[email protected]
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
--
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/B39B3F74-AF07-461A-9229-917F984CC09D%40mlds-networks.com.