OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

filrstr (Restore an OpenTP1 file system)

Format

filrstr [-y] [-q] [-{t|o|r}] [-{c|1}]
        backup-file-name [/OpenTP1-file-name]
        OpenTP1-file-system-area-name

Function

The filrstr command restores to an OpenTP1 file system area an OpenTP1 file system backed up by the filbkup command.

The filrstr command requests confirmation from the user before restoring the OpenTP1 file system, but there is an option that enables restoration processing to be performed immediately without requesting user confirmation.

Only the superuser and a user authorized to initialize the OpenTP1 file system can execute the filrstr command.

It is also possible to restore a specified OpenTP1 file by specifying its OpenTP1 file name, but this method is usually used to collect maintenance information.

Options

-y

Specifies that the OpenTP1 file system is to be restored immediately without requesting user confirmation.

When this option is omitted, the OpenTP1 file system is restored after the user confirms restoration.

-q

Specifies that file management information on the OpenTP1 file system is to be written in a batch and then the OpenTP1 file system is to be restored at high speed.

-{t|o|r}

Specifies the handling of restoration when the restoration source file and the restoration destination OpenTP1 file system contain the same OpenTP1 file name:

-t
Compare their most recent update dates and times and restore the OpenTP1 file from the restoration source file only if it has the more recent date and time;

-o
Do not restore an OpenTP1 file with the same name;

-r
Restore the OpenTP1 file regardless of the most recent update date and time.

{c|l}

-c
Specifies that if an OpenTP1 file in the OpenTP1 file system is being used by another process or another user, the OpenTP1 file system is not to be restored.

-l
Specifies that if an OpenTP1 file in the OpenTP1 file system is being used by another process or another user, that OpenTP1 file only is not to be restored.

Command arguments

backup-file-name~<path name>

Specifies the name of the file containing the backup of the OpenTP1 file system.

OpenTP1-file-name~<OpenTP1 file name>

Specifies the name of an OpenTP1 file to be restored.

When this command argument is specified, only the specified OpenTP1 file is restored.

OpenTP1-file-system-area-name~<path name>

Specifies the name of the character special file or ordinary file into which the OpenTP1 file system is to be restored. The specified character special file or ordinary file must have already been initialized as an OpenTP1 file system.

Notes