temip_ds_repair(1) — Commands
NAME
temip_ds_repair − TeMIP datastore managing tool
SYNOPSIS
temip_ds_repair [-c] [-v] repository [temporary_location]
DESCRIPTION
The temip_ds_repair command is used to try to repair a damaged TeMIP datastore.
The way it proceeds consists in rebuilding a new datastore using records extracted from the original one.
RESTRICTIONS
You must be root to use this command. TeMIP must be stopped before using this command.
ARGUMENTS
repository
pathname of the datastore to be repaired.
temporary_location
Optional. Indicates where temporary files have to be located. When not given, default location is current directory.
When called without any parameter, usage information is displayed.
FLAGS
-c
clean-up all the records: datastore is returned empty.
-v
Verbose mode: detailed output is printed out.
EXEMPLES
# temip_ds_repair /var/kits/temip/aOP_CT1
NOTES
Datastore repairing may not be the better solution when other related files are damaged too. To get a global checking of related files, apply temip_check command to the group to which belongs the corrupted datastore.
Depending of actual damages, repair process may not succeed or produce a datastore with less records than the original one or, even with no record at all. It may happen that low-level tool used to scan datastore c-isam structure get lost and provoke a segmentation fault with a core dump built. Such a situation is generally due to a datastore that is highly damaged and cannot be repaired or even acceeded. In these cases, the only solution is to restore the datastore from a previously built saveset. Refer to temip_backup command to get information about saveset building. When restore operation is limited to a datastore, temip_restore_one_oc, or temip_restore_one_log commands can be used to perform the operation. Otherwise, temip_backup command has to be used with either -restore option, or -recover option, set and applied to the group to which belongs the corrupted datastore.
RELATED INFORMATION
Commands: temip_backup(1), temip_check(1), temip_ds_check(1), temip_ds_copy(1), temip_restore_one_log(1), temip_restore_one_oc(1)
Documentation: TeMIP Framework Configuration and Management Guide TeMIP Utilities