Bacula-users

Re: [Bacula-users] Incrementals not happening

2015-07-07 12:05:37
Subject: Re: [Bacula-users] Incrementals not happening
From: James Chamberlain <jamesc AT exa DOT com>
To: Luc Van der Veken <lucvdv AT wimionline DOT com>
Date: Tue, 7 Jul 2015 11:59:22 -0400
Thanks, it looks like that was the key thing I'd missed!

Best Regards,

James


On Jul 7, 2015, at 2:36 AM, Luc Van der Veken <lucvdv AT wimionline DOT com> wrote:

In your jobdefs, in default.conf:
 
  Max Full Interval = 90
 
90 what?
Maybe make that “90 days” to be certain. I’m not entirely sure myself and it’s hard to find in the manual, but I think the default unit is seconds.
 
 
 
From: James Chamberlain [mailto:jamesc@exa.com] 
Sent: 07 July 2015 1:11
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] Incrementals not happening
 
Hi all,
 
I'm trying to figure out what's wrong with my configuration.  If run a full backup on the system Hawking, and then try to run an incremental against Hawking, the job gets promoted to full and I don't know why.  If I do a restore against Hawking, the most recent full backup is found and Bacula is able to build a file system tree.  To me, that says that the previous full backup ought to be suitable.  I'm running Bacula 7.0.5.
 
Does anyone have any suggestions?
 
Thanks,
 
James
 
 
 
Director configuration stripped of passwords and attached below.
 
As requested in the FAQ, here's the relevant section of the output from "list jobs":
 
*list jobs
+-------+---------------+---------------------+------+-------+------------+-------------------+-----------+
| JobId | Name          | StartTime           | Type | Level | JobFiles   | JobBytes          | JobStatus |
+-------+---------------+---------------------+------+-------+------------+-------------------+-----------+
|    57 | Hawking       | 2015-07-06 15:33:11 | B    | F     |     52,145 |     9,849,260,308 | T         |
|    59 | Hawking       | 2015-07-06 15:55:25 | B    | F     |     52,145 |     9,852,606,517 | T         |
|    60 | Hawking       | 2015-07-06 16:20:07 | B    | F     |     52,145 |     9,855,333,619 | T         |
+-------+---------------+---------------------+------+-------+------------+-------------------+-----------+
 
Here's the Job report output from the prior Full save:
 
06-Jul 15:55 diesel-dir JobId 59: 06-Jul 15:55 diesel-dir JobId 59: No prior or suitable Full backup found in catalog. Doing FULL backup.
06-Jul 15:55 diesel-dir JobId 59: Start Backup JobId 59, Job=Hawking.2015-07-06_15.55.23_22
06-Jul 15:55 diesel-dir JobId 59: Using Device "LTO-5" to write.
06-Jul 15:55 diesel-sd JobId 59: Spooling data ...
06-Jul 16:04 diesel-sd JobId 59: Committing spooled data to Volume "AGM703L5". Despooling 9,869,706,491 bytes ...
06-Jul 16:12 diesel-sd JobId 59: Despooling elapsed time = 00:06:40, Transfer rate = 24.67 M Bytes/second
06-Jul 16:12 diesel-sd JobId 59: Elapsed time=00:17:17, Transfer rate=9.507 M Bytes/second
06-Jul 16:12 diesel-sd JobId 59: Sending spooled attrs to the Director. Despooling 11,030,831 bytes ...
06-Jul 16:13 diesel-dir JobId 59: Bacula diesel-dir 7.0.5 (28Jul14):
 Build OS:               x86_64-unknown-linux-gnu redhat 
 JobId:                  59
 Job:                    Hawking.2015-07-06_15.55.23_22
 Backup Level:           Full (upgraded from Incremental)
 Client:                 "Hawking" i686-redhat-linux-gnu,redhat,
 FileSet:                "Hawking-FileSet" 2015-06-08 19:00:01
 Pool:                   "Default" (From Job resource)
 Catalog:                "MyCatalog" (From Client resource)
 Storage:                "LTO-5" (From Pool resource)
 Scheduled time:         06-Jul-2015 15:55:22
 Start time:             06-Jul-2015 15:55:25
 End time:               06-Jul-2015 16:13:01
 Elapsed time:           17 mins 36 secs
 Priority:               10
 FD Files Written:       52,145
 SD Files Written:       52,145
 FD Bytes Written:       9,852,606,517 (9.852 GB)
 SD Bytes Written:       9,859,413,603 (9.859 GB)
 Rate:                   9330.1 KB/s
 Software Compression:   None
 VSS:                    no
 Encryption:             no
 Accurate:               no
 Volume name(s):         AGM703L5
 Volume Session Id:      34
 Volume Session Time:    1432647685
 Last Volume Bytes:      2,372,386,996,224 (2.372 TB)
 Non-fatal FD errors:    0
 SD Errors:              0
 FD termination status:  OK
 SD termination status:  OK
 Termination:            Backup OK

06-Jul 16:13 diesel-dir JobId 59: Begin pruning Jobs older than 3 months .
06-Jul 16:13 diesel-dir JobId 59: No Jobs found to prune.
06-Jul 16:13 diesel-dir JobId 59: Begin pruning Files.
06-Jul 16:13 diesel-dir JobId 59: No Files found to prune.
06-Jul 16:13 diesel-dir JobId 59: End auto prune.
 
Here's the output of "list jobid=59", for the job ID prior to the Full save:
 
*llist jobid=59
           JobId: 59
             Job: Hawking.2015-07-06_15.55.23_22
            Name: Hawking
     PurgedFiles: 0
            Type: B
           Level: F
        ClientId: 5
            Name: Hawking
       JobStatus: T
       SchedTime: 2015-07-06 15:55:22
       StartTime: 2015-07-06 15:55:25
         EndTime: 2015-07-06 16:13:01
     RealEndTime: 2015-07-06 16:13:01
        JobTDate: 1,436,213,581
    VolSessionId: 34
  VolSessionTime: 1,432,647,685
        JobFiles: 52,145
       JobErrors: 0
 JobMissingFiles: 0
          PoolId: 1
        PooLname: Default
      PriorJobId: 0
       FileSetId: 8
         FileSet: Hawking-FileSet
        HasCache: 0
 
Here's the job report output from the save that is doing the wrong thing:
 
06-Jul 16:20 diesel-dir JobId 60: 06-Jul 16:20 diesel-dir JobId 60: No prior or suitable Full backup found in catalog. Doing FULL backup.
06-Jul 16:20 diesel-dir JobId 60: Start Backup JobId 60, Job=Hawking.2015-07-06_16.20.04_23
06-Jul 16:20 diesel-dir JobId 60: Using Device "LTO-5" to write.
06-Jul 16:20 diesel-sd JobId 60: Spooling data ...
06-Jul 16:29 diesel-sd JobId 60: Committing spooled data to Volume "AGM703L5". Despooling 9,872,436,161 bytes ...
06-Jul 16:37 diesel-sd JobId 60: Despooling elapsed time = 00:06:38, Transfer rate = 24.80 M Bytes/second
06-Jul 16:37 diesel-sd JobId 60: Elapsed time=00:17:18, Transfer rate=9.501 M Bytes/second
06-Jul 16:37 diesel-sd JobId 60: Sending spooled attrs to the Director. Despooling 11,030,831 bytes ...
06-Jul 16:37 diesel-dir JobId 60: Bacula diesel-dir 7.0.5 (28Jul14):
 Build OS:               x86_64-unknown-linux-gnu redhat 
 JobId:                  60
 Job:                    Hawking.2015-07-06_16.20.04_23
 Backup Level:           Full (upgraded from Incremental)
 Client:                 "Hawking" i686-redhat-linux-gnu,redhat,
 FileSet:                "Hawking-FileSet" 2015-06-08 19:00:01
 Pool:                   "Default" (From Job resource)
 Catalog:                "MyCatalog" (From Client resource)
 Storage:                "LTO-5" (From Pool resource)
 Scheduled time:         06-Jul-2015 16:20:03
 Start time:             06-Jul-2015 16:20:07
 End time:               06-Jul-2015 16:37:46
 Elapsed time:           17 mins 39 secs
 Priority:               10
 FD Files Written:       52,145
 SD Files Written:       52,145
 FD Bytes Written:       9,855,333,619 (9.855 GB)
 SD Bytes Written:       9,862,140,705 (9.862 GB)
 Rate:                   9306.3 KB/s
 Software Compression:   None
 VSS:                    no
 Encryption:             no
 Accurate:               no
 Volume name(s):         AGM703L5
 Volume Session Id:      35
 Volume Session Time:    1432647685
 Last Volume Bytes:      2,382,257,654,784 (2.382 TB)
 Non-fatal FD errors:    0
 SD Errors:              0
 FD termination status:  OK
 SD termination status:  OK
 Termination:            Backup OK

06-Jul 16:37 diesel-dir JobId 60: Begin pruning Jobs older than 3 months .
06-Jul 16:37 diesel-dir JobId 60: No Jobs found to prune.
06-Jul 16:37 diesel-dir JobId 60: Begin pruning Files.
06-Jul 16:37 diesel-dir JobId 60: No Files found to prune.
06-Jul 16:37 diesel-dir JobId 60: End auto prune.
 
Here's the output of "list jobid=60" where 60 is the JobID of the job that was not correct:
 
*llist jobid=60
           JobId: 60
             Job: Hawking.2015-07-06_16.20.04_23
            Name: Hawking
     PurgedFiles: 0
            Type: B
           Level: F
        ClientId: 5
            Name: Hawking
       JobStatus: T
       SchedTime: 2015-07-06 16:20:03
       StartTime: 2015-07-06 16:20:07
         EndTime: 2015-07-06 16:37:46
     RealEndTime: 2015-07-06 16:37:46
        JobTDate: 1,436,215,066
    VolSessionId: 35
  VolSessionTime: 1,432,647,685
        JobFiles: 52,145
       JobErrors: 0
 JobMissingFiles: 0
          PoolId: 1
        PooLname: Default
      PriorJobId: 0
       FileSetId: 8
         FileSet: Hawking-FileSet
        HasCache: 0
 
 

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>