Bacula-users

[Bacula-users] Bacula 3.0 Problem with Cancel Queued Duplicates

2009-04-11 23:58:24
Subject: [Bacula-users] Bacula 3.0 Problem with Cancel Queued Duplicates
From: Stephen Carr <sgcarr AT civeng.adelaide.edu DOT au>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 12 Apr 2009 13:08:15 +0930
Dear All

I have been testing the use of Full Max Run Time in the Job Defs

What happens is the job is canceled almost immediately. Either I have 
made a mistake in the configuration or something is amiss.

Below is a the job def with the Max Run Time defined as 4h or 4 hours 
which I thought was the cause - I was running a client job manually.

I have just discovered that if I set "Cancel Queued Duplicates = no" ( 
Default is yes) the job runs as expected - The client is scheduled to 
run tomorrow.

Also is the log entry of the canceled job. No other jobs were running

Thanks
Stephen Carr

JobDefs {
   Name = "Workstation2"
   Type = Backup
   Level = Full
   Schedule = "Workstation2"
   Messages = Standard
   Pool = Migrate-Inc
   Full Backup Pool = Migrate-Full
   Incremental Backup Pool = Migrate-Inc
   Priority = 13
   Max Start Delay = 14h
   Maximum Concurrent Jobs = 10
   Spool Data = no
   Max Full Interval = 28 days
   Full Max Run Time = 4 hours
}

Log Entry

12-Apr 12:56 elizabeth-dir JobId 0: 2001 Job 
civeng107.2009-04-12_12.56.20_20 marked to be canceled.
12-Apr 12:56 elizabeth-dir JobId 0: 3000 Job 
civeng107.2009-04-12_12.56.20_20 marked to be canceled.
12-Apr 12:56 elizabeth-dir JobId 92257: shell command: run BeforeJob 
"/usr/local/sbin/fping -r 1 civeng107"
12-Apr 12:56 elizabeth-dir JobId 92257: BeforeJob: civeng107 is alive
12-Apr 12:56 elizabeth-dir JobId 92257: Start Backup JobId 92257, 
Job=civeng107.2009-04-12_12.56.20_20
12-Apr 12:56 elizabeth-dir JobId 92257: There are no more Jobs 
associated with Volume "Inc0085". Marking it purged.
12-Apr 12:56 elizabeth-dir JobId 92257: All records pruned from Volume 
"Inc0085"; marking it "Purged"
12-Apr 12:56 elizabeth-dir JobId 92257: Recycled volume "Inc0085"
12-Apr 12:56 elizabeth-dir JobId 92257: Using Device "File"
12-Apr 12:56 elizabeth-sd JobId 92257: Recycled volume "Inc0085" on 
device "File" (/wd1000), all previous data lost.
12-Apr 12:56 civeng107 JobId 92257: Generate VSS snapshots. Driver="VSS 
WinXP", Drive(s)="D"
12-Apr 12:56 elizabeth-sd JobId 92257: Job 
civeng107.2009-04-12_12.56.20_20 marked to be canceled.
12-Apr 12:58 civeng107 JobId 92257: VSS Writer (BackupComplete): 
"MSDEWriter", State: 0x1 (VSS_WS_STABLE)
12-Apr 12:58 civeng107 JobId 92257: VSS Writer (BackupComplete): 
"Microsoft Writer (Service State)", State: 0x1 (VSS_WS_STABLE)
12-Apr 12:58 civeng107 JobId 92257: VSS Writer (BackupComplete): "WMI 
Writer", State: 0x1 (VSS_WS_STABLE)
12-Apr 12:58 civeng107 JobId 92257: VSS Writer (BackupComplete): 
"Microsoft Writer (Bootable State)", State: 0x1 (VSS_WS_STABLE)
12-Apr 12:58 elizabeth-sd JobId 92257: Fatal error: append.c:159 Error 
reading data header from FD. ERR=Connection reset by peer
12-Apr 12:58 elizabeth-sd JobId 92257: Job write elapsed time = 
00:01:48, Transfer rate = 0  bytes/second
12-Apr 12:58 elizabeth-sd JobId 92257: Fatal error: fd_cmds.c:170 
Command error with FD, hanging up. Append data error.
12-Apr 12:56 elizabeth-dir JobId 92257: Fatal error: Max run time 
exceeded. Job canceled.
12-Apr 12:58 elizabeth-dir JobId 92257: Error: Bacula elizabeth-dir 
3.0.0 (06Apr09): 12-Apr-2009 12:58:43
   Build OS:               i686-pc-linux-gnu slackware Slackware 9.1.0
   JobId:                  92257
   Job:                    civeng107.2009-04-12_12.56.20_20
   Backup Level:           Incremental, since=2009-04-12 12:45:50
   Client:                 "civeng107" 2.2.6 (10Nov07) 
Linux,Cross-compile,Win32
   FileSet:                "workstation" 2006-09-07 16:00:03
   Pool:                   "Migrate-Inc" (From Job IncPool override)
   Catalog:                "MyCatalog" (From Client resource)
   Storage:                "File" (From Pool resource)
   Scheduled time:         12-Apr-2009 12:56:08
   Start time:             12-Apr-2009 12:56:24
   End time:               12-Apr-2009 12:58:43
   Elapsed time:           2 mins 19 secs
   Priority:               13
   FD Files Written:       0
   SD Files Written:       0
   FD Bytes Written:       0 (0 B)
   SD Bytes Written:       0 (0 B)
   Rate:                   0.0 KB/s
   Software Compression:   None
   VSS:                    yes
   Encryption:             no
   Accurate:               no
   Volume name(s):         Inc0085
   Volume Session Id:      62
   Volume Session Time:    1239449211
   Last Volume Bytes:      607 (607 B)
   Non-fatal FD errors:    0
   SD Errors:              0
   FD termination status:  Canceled
   SD termination status:  Error
   Termination:            *** Backup Error ***


-- 
Stephen Carr
Computing Officer
School of Civil and Environmental Engineering
The University of Adelaide
Tel +618-8303-4313
Fax +618-8303-4359
Email sgcarr AT civeng.adelaide.edu DOT au

CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s)and
contains information that may be confidential and/or copyright.
If you are not the intended recipient please notify the sender
by reply email and immediately delete this email. Use, disclosure
or reproduction of this email by anyone other than the intended 
recipient(s) is strictly prohibited. No representation is made
that this email or any attachments are free of viruses. Virus
scanning is recommended and is the responsibility of the recipient.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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>
  • [Bacula-users] Bacula 3.0 Problem with Cancel Queued Duplicates, Stephen Carr <=