Restoring records deleted via Bulkimport
- Article Type: Q&A
- Product: Voyager
- Product Version: All
- Relevant for Installation Type: Direct; Local; Total Care
Question
Is it possible to restore records deleted through BulkImport or authority records removed for 3rd party headings work?
Answer
Bib and MFHD records deleted via the Bulk Import batch job (either thru WebAdmin or by submitting commands on the server) are archived in the delete* files in /rpt. See: Are deleted bibs, mfhds, items archived?
If retained, the log files generated by the Bulk Import process can be reviewed to identify which Bib and MFHD record IDs were deleted (format is log.imp.DATESTAMP.processID).
Example of log file from Bulk Import job that deleted 1 bib (ID 6600) and 1 mfhd (ID 6802):
I am 7494 ( started from process id: 7475 ). I will be doing all of '/m1/voyager/tmp/cgipost-82e4f19052cea9d993a4338ad20d84c9-7358.tmp' for you.
The import code is "DELETE" for this run.
The Bib dup profile is "BBID" for this run.
This import is using a rule that does not allow creation of MFHDs or Items.
The Mfhd dup profile is "MFHD-replace" for this run.
Expecting Marc21 UTF-8 Records
Wed Oct 14 07:59:46 2020
1(1):Duplicate Bibs above threshold: replace 1, warning 0.
BibID & rank
6600 - 100
2(1):Duplicate Mfhds above threshold: replace 1, warning 0.
MfhdID & rank
6802 - 100
MFHD 6802 deleted.
BIB 6600 deleted.
BIBLIOGRAPHIC, MFHD, ITEM or AUTHORITY Records
Processed: 1
Added: 0
Discarded: 0
Rejected: 0
Errored: 0
Replaced: 0
Merged: 0
Deleted: 1
Mfhds created: 0
Items created: 0
MFHD Records
Processed: 1
Added: 0
Discarded: 0
Errored: 0
Replaced: 0
Deleted: 1
Category: Batch jobs