Storage Protect @ CS/LTH
ANR2579E / ANS1512E:
“Return Code 12”
Problem:
This error is a bit tricky: it says that
“…this return code means that the error was severe enough to prevent the successful completion of the operation.”
In reality, though, the problem has never been “severe”. It usually pertains to a small number of files that for some reason cannot be backed up.
Consequence:
The affected files are not backed up.
Solution:
We currently do not have a solution for this. Additionally, we cannot see the details of this error on the server; only the log file stored
on the client computer, dsmsched.log
, has this information. Please note that in the local log file, the error shows up as ANS1512E
(yes, we too find this confusing). It may be accompanied by ANS1028S
.
More information:
Our recommendation is to look in the client log on your computer and try to find the failing file(s).
Here is an example from a log file:
2023-01-29 11:43:57 --- SCHEDULEREC OBJECT BEGIN ALL_DAY 2023-01-29 04:00:00
2023-01-29 11:43:57 Incremental backup of volume '/'
[...]
2023-01-29 11:48:45 Normal File--> 8 /Users/xxx/Library/Metadata/CoreSpotlight/
NSFileProtectionCompleteUnlessOpen/index.spotlightV3/store.updates ** Unsuccessful **
[...]
2023-01-29 11:48:45 --- SCHEDULEREC STATUS BEGIN
2023-01-29 11:48:45 Total number of objects inspected: 385,270
2023-01-29 11:48:45 Total number of objects backed up: 354
2023-01-29 11:48:45 Total number of objects updated: 0
2023-01-29 11:48:45 Total number of objects rebound: 0
2023-01-29 11:48:45 Total number of objects deleted: 0
2023-01-29 11:48:45 Total number of objects expired: 2
2023-01-29 11:48:45 Total number of objects failed: 0
2023-01-29 11:48:45 Total number of objects encrypted: 0
2023-01-29 11:48:45 Total number of objects grew: 0
2023-01-29 11:48:45 Total number of retries: 0
2023-01-29 11:48:45 Total number of bytes inspected: 68.53 GB
2023-01-29 11:48:45 Total number of bytes transferred: 850.73 MB
2023-01-29 11:48:45 Data transfer time: 180.58 sec
2023-01-29 11:48:45 Network data transfer rate: 4,824.07 KB/sec
2023-01-29 11:48:45 Aggregate data transfer rate: 3,024.56 KB/sec
2023-01-29 11:48:45 Objects compressed by: 0%
2023-01-29 11:48:45 Total data reduction ratio: 98.79%
2023-01-29 11:48:45 Elapsed processing time: 00:04:48
2023-01-29 11:48:45 --- SCHEDULEREC STATUS END
2023-01-29 11:48:45 ANS1028S An internal program error occurred.
2023-01-29 11:48:45 --- SCHEDULEREC OBJECT END ALL_DAY 2023-01-29 04:00:00
2023-01-29 11:48:45 ANS1512E Scheduled event 'ALL_DAY' failed. Return code = 12.
We believe the line marked in red is the troublesome file. And this particular file is no problem if omitted from the backup.
These pages at IBM are the “official” pages for these errors, but don’t really help: