The ccmsrv restore command restores a server from an archive device.
Synopsis
ccmsrv restore [/d|/device archive_device] [/y]
Uses
The users for this command are Informix-Admin group member and local administrator.
You must run this command on the machine where the database server resides.
Options and arguments
- /d|/device archive_device
- Specifies the archive device. The archive device must be a tape device name.
- When you specify the archive device with the /d switch, it becomes the default for both the archive and restore commands. When you specify the default, you do not need to specify this parameter again, unless you want to change the default.
- /y
- Runs the command without displaying confirmation messages.
Example
Restore the database server from archive tape TAPE0.
> ccmsrv restore /device \\.\TAPE0
Attention
If one or more of the Informix® chunk files were deleted, you need to create a zero-length file in its place. Without the zero-length file, ccmsrv restore does not work.