Skip to content

Instantly share code, notes, and snippets.

@omahn
Created March 16, 2016 08:36
Show Gist options
  • Save omahn/51d45178a753891e253d to your computer and use it in GitHub Desktop.
Save omahn/51d45178a753891e253d to your computer and use it in GitHub Desktop.
Bacula incorrectly backing up all files during incremental backups
# Affected fileset
FileSet {
Name = "NFS_Groups"
Include {
Options {
File = /media/raid/groups
Options {
@/etc/bacula/conf.d/default-fileset-options.conf
}
}
}
# Default fileset options
signature = sha1
noatime = yes
aclsupport = yes
xattrsupport = yes
basejob = ipnugsamc
# Affected filesystem size
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/groupsvg-data 7.3T 5.5T 1.9T 75% /media/raid/groups
# Full backup, utilises a Base job
estimate job=nfs_groups level=Full catalog=YNiCCatalog
2000 OK estimate files=10,283,755 bytes=277,161,967,220
# Incremental, should be based on Incrementals + Full + Base
estimate job=nfs_groups level=Incremental catalog=YNiCCatalog
2000 OK estimate files=24,692,227 bytes=5,895,850,543,823
# Differential, should be based on last Full + Base
estimate job=nfs_groups level=Differential catalog=YNiCCatalog
2000 OK estimate files=24,692,227 bytes=5,895,850,543,823
# Extract from list jobs for nfs_groups
+---------+------------+---------------------+------+-------+------------+-------------------+-----------+
| jobid | name | starttime | type | level | jobfiles | jobbytes | jobstatus |
+---------+------------+---------------------+------+-------+------------+-------------------+-----------+
| 103,429 | nfs_groups | 2016-03-04 20:06:54 | B | F | 24,643,514 | 181,170,492,155 | T |
| 103,504 | nfs_groups | 2016-03-07 21:56:43 | B | I | 17,143 | 4,575,095,609 | T |
| 103,565 | nfs_groups | 2016-03-08 20:00:00 | B | I | 4,597 | 6,815,735,908 | T |
| 103,628 | nfs_groups | 2016-03-09 20:05:19 | B | I | 24,680,615 | 5,890,380,726,587 | T |
| 103,690 | nfs_groups | 2016-03-11 00:57:34 | B | I | 24,685,141 | 5,889,491,069,187 | T |
| 103,752 | nfs_groups | 2016-03-12 16:19:44 | B | F | 24,685,954 | 266,155,829,610 | T |
+---------+------------+---------------------+------+-------+------------+-------------------+-----------+
# The base job used for this fileset
+---------+-----------------+---------------------+------+-------+------------+-------------------+-----------+
| jobid | name | starttime | type | level | jobfiles | jobbytes | jobstatus |
+---------+-----------------+---------------------+------+-------+------------+-------------------+-----------+
| 102,519 | base_nfs_groups | 2016-02-12 12:53:28 | B | B | 25,300,223 | 5,909,852,028,131 | T |
+---------+-----------------+---------------------+------+-------+------------+-------------------+-----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment