OpenTP1 Version 7 Operation

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

filbkup (Back up an OpenTP1 file system)

Format

filbkup [-y] [-r] [-i] [-{c|l|f}]
        OpenTP1-file-system-area-name[/OpenTP1-file-name]
        backup-file-name

Function

The filbkup command backs up a specified OpenTP1 file system. The attributes of the OpenTP1 files are also backed up. Only one OpenTP1 file system can be backed up into a backup file. To back up multiple OpenTP1 file systems, as many files are required as there are OpenTP1 file systems.

The filbkup command requests confirmation from the user before backing up an OpenTP1 file system, but there is an option that enables backup processing to be started immediately without requesting user confirmation.

Only the OpenTP1 administrator can execute the filbkup command.

An OpenTP1 file system that has been backed up can be restored with the filrstr command.

It is also possible to back up a specified OpenTP1 file, but this method is usually used to collect maintenance information.

Options

-y

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

When this option is omitted, the OpenTP1 file system is backed up after the user confirms the backup request.

-r

Specifies that if the backup destination file already exists, it is to be deleted before the backup file is created.

When this option is omitted and the backup destination file already exists, the filbkup command terminates in an error.

-i

Specifies that if a read error occurs in an OpenTP1 file, backup of that file is to be cancelled and the next file is to be read. The remaining area of the file resulting in the error is cleared.

When this option is omitted and a read error occurs in an OpenTP1 file, the filbkup command terminates in an error and an error message is output.

-{c|l|f}

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

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

-f
Specifies that even if an OpenTP1 file in the specified OpenTP1 file system is being used by another process or another user, the OpenTP1 file system is to be backed up forcibly.

Command arguments

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

Specifies the name of the character special file or ordinary file containing the OpenTP1 file system to be backed up.

OpenTP1-file-name~<OpenTP1 file name>

Specifies the name of an OpenTP1 file to be backed up.

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

backup-file-name~<path name>

Specifies the name of the backup destination file.

Notes