On Thursday, September 8, 2016 at 4:45:45 PM UTC+2, Robert N wrote:
> Hi,
> 
> copy jobs in catalog doesn't report the correct start times.
> 
> mysql> select * from Job where JobId=2883;
> +-------+------------------------------------+-------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+------------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+
> | JobId | Job                                | Name        | Type | Level | 
> ClientId | JobStatus | SchedTime           | StartTime           | EndTime    
>          | RealEndTime         | JobTDate   | VolSessionId | VolSessionTime | 
> JobFiles | JobBytes   | ReadBytes | JobErrors | JobMissingFiles | PoolId | 
> FileSetId | PriorJobId | PurgedFiles | HasBase | HasCache | Reviewed | 
> Comment |
> +-------+------------------------------------+-------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+------------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+
> |  2883 | muc1-sccm-1.2016-09-08_04.52.19_21 | muc1-sccm-1 | C    | I     |   
>      1 | T         | 2016-09-08 04:52:19 | 2016-09-08 00:45:54 | 2016-09-08 
> 00:48:00 | 2016-09-08 08:35:33 | 1473288480 |           75 |     1473082717 | 
>        4 | 5708380436 |         0 |         0 |               0 |      4 |    
>     29 |       2859 |           0 |       0 |        0 |        0 |         |
> +-------+------------------------------------+-------------+------+-------+----------+-----------+---------------------+---------------------+---------------------+---------------------+------------+--------------+----------------+----------+------------+-----------+-----------+-----------------+--------+-----------+------------+-------------+---------+----------+----------+---------+
> 1 row in set (0.00 sec)
> 
> 
> 
> from log:
> 
>   Build OS:               x86_64-redhat-linux-gnu redhat CentOS release 6.7 
> (Final)
>   Prev Backup JobId:      2859
>   Prev Backup Job:        muc1-sccm-1.2016-09-08_00.13.00_57
>   New Backup JobId:       2883
>   Current JobId:          2882
>   Current Job:            CopyToTape.2016-09-08_04.52.19_20
>   Backup Level:           
>   Client:                 muc1-hyper-3
>   FileSet:                "StdLinux"
>   Read Pool:              "DiskDaily" (From Job resource)
>   Read Storage:           "DiskStorageIncr" (From Pool resource)
>   Write Pool:             "TapeDaily" (From Job Pool's NextPool resource)
>   Write Storage:          "TapeStorage" (From Storage from Pool's NextPool 
> resource)
>   Next Pool:              "TapeDaily" (From Job Pool's NextPool resource)
>   Catalog:                "MyCatalog" (From Job resource)
>   Start time:             08-Sep-2016 08:30:19
>   End time:               08-Sep-2016 08:35:33
>   Elapsed time:           5 mins 14 secs
>   Priority:               12
>   SD Files Written:       4
>   SD Bytes Written:       5,708,380,436 (5.708 GB)
>   Rate:                   18179.6 KB/s
>   Volume name(s):         000011L6
>   Volume Session Id:      75
>   Volume Session Time:    1473082717
>   Last Volume Bytes:      793,266,139,586 (793.2 GB)
>   SD Errors:              0
>   SD termination status:  OK
>   Termination:            Copying OK
> 
> 
> Any way to get the correct start time from the catalog?
> 
> Thanks,
> 
> Robert

update 1,


list joblog shows the original backup job log instead of the copy job.

*list joblog jobid=2883
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
 2016-09-08 00:47:56 muc1-hyper-3 JobId 2859: VSS Writer (BackupComplete): 
"COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE)
 2016-09-08 00:48:00 muc1pro-backup-1-sd JobId 2859: Elapsed time=00:02:05, 
Transfer rate=45.66 M Bytes/second
 2016-09-08 00:48:00 muc1pro-backup-1-dir JobId 2859: Bareos 
muc1pro-backup-1-dir 15.2.3 (07Mar16):
  Build OS:               x86_64-redhat-linux-gnu redhat CentOS release 6.7 
(Final)
  JobId:                  2859
  Job:                    muc1-sccm-1.2016-09-08_00.13.00_57
  Backup Level:           Incremental, since=2016-09-07 00:45:13
  Client:                 "muc1-hyper-3" 15.2.2 (16Nov15) Microsoft Windows 
Server 2012 Datacenter Edition (build 9200), 64-bit,Cross-compile,Win64
  FileSet:                "HyperV-VM" 2016-08-16 11:56:11
  Pool:                   "DiskDaily" (From Run Pool override)
  Catalog:                "MyCatalog" (From Job resource)
  Storage:                "DiskStorageIncr" (From Pool resource)
  Scheduled time:         08-Sep-2016 00:13:00
  Start time:             08-Sep-2016 00:45:54
  End time:               08-Sep-2016 00:48:00
  Elapsed time:           2 mins 6 secs
  Priority:               10
  FD Files Written:       4
  SD Files Written:       4
  FD Bytes Written:       5,708,379,454 (5.708 GB)
  SD Bytes Written:       5,708,380,436 (5.708 GB)
  Rate:                   45304.6 KB/s
  Software Compression:   None
  VSS:                    yes
  Encryption:             no
  Accurate:               no
  Volume name(s):         Incr-0522|Incr-0523|Incr-0524|Incr-0525
  Volume Session Id:      62
  Volume Session Time:    1473082717
  Last Volume Bytes:      1,099,489,978 (1.099 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to