However, if this is not possible, the export_recovery utility is used to restore the object to the exporting database from the exporting site’s IMAN_transfer area using the min or full mode (effectively canceling the export/transfer ownership transaction). If no data is available at either site, recovery can be attempted by running the automode at the exporting site that was the last known owning site.
This is generally infodba or another user with administration privileges. If this argument is used without a value, the operating system user name is used.
If used without a value, the system assumes a null value.
If this argument is not used, the system assumes the user-id value to be the password.
If used without a value, the user's default group is assumed.
At least one primary mode must be specified.
Not more than one primary mode can be specified.
For the –mode=auto and –mode=find options, exactly one object selection filter (–itemid, –filename, or –folder) must be specified.
To restore ownership on an item with the ID MyCorruptItem:
export_recovery -mode=auto -item_id=MyCorruptItem -remote_site=Manufacturing
To restore ownership on objects contained in an export metafile without reimporting:
export_recovery -mode=min -dir=metafile_dir
To reimport objects from the metafile and restore site ownership:
export_recovery -mode=full -dir=metafile_dir
To generate a report of ownership inconsistencies:
export_recovery -mode=find -filename=suspect_itemlist.dat -report=report.dat
To restore site ownership after the –mode=auto option fails to restore ownership:
export_recovery -mode=auto_noexport -item_id=xyz -new_owning_site=Site1
To restore ownership of an entire assembly:
export_recovery -mode=auto -item_id=Assy1 -remote_site=Site2 -include_bom