Use the ccmsrv restore command to restore a database server.
Before you begin
You must be an
Informix-Admin group member and working as
local administrator to perform this command. You must run this command on the machine where the database server resides.
Procedure
- Verify the system configuration and the configuration file.
- If possible, view the status of the database server.
> ccmsrv status
The output of this command is:
*** database server tonnyx ***
server number: 1
state: online mode
maximum users allowed: 10
number of users: 1
archive device: \\.\TAPE0
network service: turbo
Database List:
- The server must be offline before you begin the restore process. Take the server offline.
> ccmsrv offline
- Verify that the server is offline.
> ccmsrv status
If the server is offline, you see a message like this one:
Database server is Off-Line64
What to do next
You now can restore the database server from tape.