ccmsrv restore

This topic contains information about the ccmsrv restore command.

Synopsis

ccmsrv restore [-d|-device archive_device] [-s|-server servername][-y]

Description and uses

Use the ccmsrv restore command to restore a server from an archive device.

You must run this command on the database server, as user informix.

For more information, see Database server archiving and restoration overview.

Options and arguments

-d|-device archive_device

Specifies the archive device. The archive device must be a tape device name. After you specify the archive device with the -d option, that device becomes the default for both the archive and restore commands. After you specify the default, you need not specify this parameter again, unless you want to change the default.

-s|-server servername

Specifies the name of the database server. The default is the server on the current machine.

-y

Executes the command without displaying confirmation messages.

Example

Restore the database server from the archive tape on the /dev/rst8 device.

$ ccmsrv restore -device /dev/rst8

Caveats

If one or more of the Informix® chunk files were deleted, you must re-create each of them. For a raw device, re-create the raw device file; for a cooked file, create a zero-length file in its place. If a chunk file does not exist, ccmsrv restore fails.


Feedback