TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-209
RECOVER FILES
try to recover these files, you can enter the RECOVER FILES command again, using
an earlier online dump on which the files might not be damaged.
If a file to be recovered does not exist in the system, you must specify the
FROMARCHIVE option. In cases of purged-file recovery, however, use the
TOFIRSTPURGE and FROMARCHIVE options (rather than the FROMARCHIVE and
TIME options).
Before recovering a file that has been purged or had its AUDIT attribute changed to off,
see the discussion on recovering from accidental loss of an audited file in the TMF
Operations and Recovery Guide.
NonStop SQL files can be recovered by using TMFCOM. Information on the recovery
of NonStop SQL files appears in the SQL/MX Installation and Management Guide.
On systems with many data volumes (more than 250), or in cases where many files
are accessed by a single transaction, the file recovery process (and the backout and
volume recovery processes as well) can become suspended because of memory
limitations within the process. If this suspension occurs, use the ALTER PROCESS
command to increase the process’ EXTENDEDSEGSIZE value and then use TACL to
stop the process. The TMP will automatically restart the process with the larger
extended segment size you specified.
Caution. In some cases, you must examine and possibly alter the dump entries in the TMF
catalog to ensure that a file recovery will be complete. For instance, when you want to recover
an audited file that has been accidentally deleted, you should proceed as follows:
1. Use the INFO DUMPS, DETAIL command to see if the TMF catalog still has an entry for
the most recent online dump for the file:
If there is no entry for the file, issue an ADD DUMPS command to replace the entry.
Consult the output from a previous INFO DUMPS
command or your hard-copy dump
tracking forms to obtain the necessary information.
If there is an entry for the file but the dump status is released or invalid, issue an
ALTER DUMPS command with the INVALID OFF and RELEASED OFF options to
change the dump status.
2. Issue another INFO DUMPS, DETAIL command to make sure the TMF catalog has a
correct entry for an online dump for the file.
3. Issue a RECOVER FILES command with the FROMARCHIVE option and either the TIME
option or the TOFIRSTPURGE option and any other options needed to recover the purged
file. If you want to recover all files up to the first file purged in a fileset, it is more
straightforward and risk-free to use the TOFIRSTPURGE option rather than the TIME
option.
Make a new online dump of the file once the file recovery process has completed.