Hello,
 
is it normal to back up bacula moved files or renamed files over and over again?
I have created a test configuration with base jobs but the files are backed up again and again.
Does anyone have a solution to the problem or a working configuration file?
 
To the procedure:
1. I'm starting a backup as a base job OK
2. a full backup using a base job OK
3. rename or move a file
4. Full Backup with Base Job
The renamed or moved file is saved with every job again and again
 
Part of the logfile:
 
30-Aug 14:13 debian-dir JobId 137: Start Backup JobId 137, Job=BaseData.2017-08-30_14.13.33_03
30-Aug 14:13 debian-dir JobId 137: Using Device "usb-vchanger-1-drive-0"
30-Aug 14:13 debian-sd JobId 137: Volume "vchanger-1_3_0" previously written, moving to end of data.
30-Aug 14:13 debian-sd JobId 137: Ready to append to end of Volume "vchanger-1_3_0" size=6983211129
30-Aug 14:13 debian-sd JobId 137: Job write elapsed time = 00:00:10, Transfer rate = 76.43 M Bytes/second
30-Aug 14:13 debian-sd JobId 137: Sending spooled attrs to the Director. Despooling 9,331 bytes ...
30-Aug 14:13 debian-dir JobId 137: Bacula debian-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-pc-linux-gnu debian jessie/sid
  JobId:                  137
  Job:                    BaseData.2017-08-30_14.13.33_03
  Backup Level:           Base
  Client:                 "debian-fd" 5.2.6 (21Feb12) x86_64-pc-linux-gnu,debian,jessie/sid
  FileSet:                "BaseFS" 2017-08-22 15:14:24
  Pool:                   "File" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "vchanger-1" (From Job resource)
  Scheduled time:         30-Aug-2017 14:13:31
  Start time:             30-Aug-2017 14:13:35
  End time:               30-Aug-2017 14:13:45
  Elapsed time:           10 secs
  Priority:               10
  FD Files Written:       36
  SD Files Written:       36
  FD Bytes Written:       764,366,752 (764.3 MB)
  SD Bytes Written:       764,370,589 (764.3 MB)
  Rate:                   76436.7 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               no
  Volume name(s):         vchanger-1_3_0
  Volume Session Id:      57
  Volume Session Time:    1503407574
  Last Volume Bytes:      7,748,149,958 (7.748 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK
30-Aug 14:13 debian-dir JobId 137: Begin pruning Jobs older than 6 months .
30-Aug 14:13 debian-dir JobId 137: No Jobs found to prune.
30-Aug 14:13 debian-dir JobId 137: Begin pruning Files.
30-Aug 14:13 debian-dir JobId 137: No Files found to prune.
30-Aug 14:13 debian-dir JobId 137: End auto prune.
30-Aug 14:15 debian-dir JobId 138: Start Backup JobId 138, Job=BackupClient1.2017-08-30_14.15.06_04
30-Aug 14:15 debian-dir JobId 138: Using Device "usb-vchanger-1-drive-0"
30-Aug 14:15 debian-dir JobId 138: Using BaseJobId(s): 122,137
30-Aug 14:15 debian-dir JobId 138: Sending Accurate information.
30-Aug 14:15 debian-sd JobId 138: Volume "vchanger-1_3_0" previously written, moving to end of data.
30-Aug 14:15 debian-sd JobId 138: Ready to append to end of Volume "vchanger-1_3_0" size=7748149958
30-Aug 14:15 debian-fd JobId 138: Space saved with Base jobs: 728 MB
30-Aug 14:15 debian-sd JobId 138: Job write elapsed time = 00:00:01, Transfer rate = 3.377 K Bytes/second
30-Aug 14:15 debian-sd JobId 138: Sending spooled attrs to the Director. Despooling 6,509 bytes ...
30-Aug 14:15 debian-dir JobId 138: Bacula debian-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-pc-linux-gnu debian jessie/sid
  JobId:                  138
  Job:                    BackupClient1.2017-08-30_14.15.06_04
  Backup Level:           Full
  Client:                 "debian-fd" 5.2.6 (21Feb12) x86_64-pc-linux-gnu,debian,jessie/sid
  FileSet:                "FullFS" 2017-08-30 09:23:05
  Pool:                   "File" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "vchanger-1" (From Job resource)
  Scheduled time:         30-Aug-2017 14:15:05
  Start time:             30-Aug-2017 14:15:09
  End time:               30-Aug-2017 14:15:10
  Elapsed time:           1 sec
  Priority:               10
  FD Files Written:       36
  SD Files Written:       36
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       3,377 (3.377 KB)
  Rate:                   0.0 KB/s
  Software Compression:   100.0 %
  Base files/Used files:  71/36 (50.70%)
  VSS:                    no
  Encryption:             no
  Accurate:               yes
  Volume name(s):         vchanger-1_3_0
  Volume Session Id:      58
  Volume Session Time:    1503407574
  Last Volume Bytes:      7,748,154,163 (7.748 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK
30-Aug 14:15 debian-dir JobId 138: Begin pruning Jobs older than 6 months .
30-Aug 14:15 debian-dir JobId 138: No Jobs found to prune.
30-Aug 14:15 debian-dir JobId 138: Begin pruning Files.
30-Aug 14:15 debian-dir JobId 138: No Files found to prune.
30-Aug 14:15 debian-dir JobId 138: End auto prune.
30-Aug 14:15 debian-dir JobId 139: Start Backup JobId 139, Job=BackupClient1.2017-08-30_14.15.35_05
30-Aug 14:15 debian-dir JobId 139: Using Device "usb-vchanger-1-drive-0"
30-Aug 14:15 debian-dir JobId 139: Using BaseJobId(s): 122,137
30-Aug 14:15 debian-dir JobId 139: Sending Accurate information.
30-Aug 14:15 debian-sd JobId 139: Volume "vchanger-1_3_0" previously written, moving to end of data.
30-Aug 14:15 debian-sd JobId 139: Ready to append to end of Volume "vchanger-1_3_0" size=7748154163
30-Aug 14:15 debian-fd JobId 139: Space saved with Base jobs: 705 MB
30-Aug 14:15 debian-sd JobId 139: Job write elapsed time = 00:00:02, Transfer rate = 12.33 M Bytes/second
30-Aug 14:15 debian-sd JobId 139: Sending spooled attrs to the Director. Despooling 6,611 bytes ...
30-Aug 14:15 debian-dir JobId 139: Bacula debian-dir 5.2.6 (21Feb12):
  Build OS:               x86_64-pc-linux-gnu debian jessie/sid
  JobId:                  139
  Job:                    BackupClient1.2017-08-30_14.15.35_05
  Backup Level:           Full
  Client:                 "debian-fd" 5.2.6 (21Feb12) x86_64-pc-linux-gnu,debian,jessie/sid
  FileSet:                "FullFS" 2017-08-30 09:23:05
  Pool:                   "File" (From Job resource)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "vchanger-1" (From Job resource)
  Scheduled time:         30-Aug-2017 14:15:33
  Start time:             30-Aug-2017 14:15:37
  End time:               30-Aug-2017 14:15:39
  Elapsed time:           2 secs
  Priority:               10
  FD Files Written:       36
  SD Files Written:       36
  FD Bytes Written:       24,656,992 (24.65 MB)
  SD Bytes Written:       24,660,384 (24.66 MB)
  Rate:                   12328.5 KB/s
  Software Compression:   96.8 %
  Base files/Used files:  71/35 (49.30%)
  VSS:                    no
  Encryption:             no
  Accurate:               yes
  Volume name(s):         vchanger-1_3_0
  Volume Session Id:      59
  Volume Session Time:    1503407574
  Last Volume Bytes:      7,772,833,663 (7.772 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK
30-Aug 14:15 debian-dir JobId 139: Begin pruning Jobs older than 6 months .
30-Aug 14:15 debian-dir JobId 139: No Jobs found to prune.
30-Aug 14:15 debian-dir JobId 139: Begin pruning Files.
30-Aug 14:15 debian-dir JobId 139: No Files found to prune.
30-Aug 14:15 debian-dir JobId 139: End auto prune.
 
bacula-dir.conf:
 
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = debian-fd
  FileSet = "FullFS"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = File
  Priority = 10
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
JobDefs {
  Name = "ChangerJob"
  Type = Backup
  Level = Full
  Client = debian-fd
  FileSet = "FullFS"
  Schedule = "WeeklyCycle"
  Storage = vchanger-1
  Messages = Standard
  SpoolAttributes = yes
  Pool = File
  Priority = 10
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
 
Job {
  Name = BaseData
  Type = Backup
  JobDefs = ChangerJob
  Level = Base
  FileSet = BaseFS
}
 
Job {
  Name = BackupClient1
  JobDefs = ChangerJob
  Base = BackupClient1, BaseData
  Accurate = yes
  Level = Full
  FileSet = FullFS
}
 
FileSet {
  Name = BaseFS
  Include {
    Options {
    BaseJob = sm
    Accurate = sm
    Verify = pin5
    Signature = MD5
    }
    File = /daten
  }
}
FileSet {
  Name = FullFS
  Include {
    Options {
      Accurate = sm
      Signature = MD5
    }
    File = /daten
  }

  Exclude {
    File = /var/lib/bacula
    File = /nonexistant/path/to/file/archive/dir
    File = /proc
    File = /tmp
    File = /.journal
    File = /.fsck
    File = /bacula
  }
}
 
Please Help!!!
 
Greeting Fabian
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to