This topic contains steps for Windows® and UNIX®.
You must run this command on the machine where the Informix server resides
> ccmsrv offline
> ccmsrv modify /p LTAPEDEV /v \\.\TAPE1 > ccmsrv modify /p LTAPESIZE /v 1000000
\\.\TAPE1 is the name of the tape device.
1000000 is the tape size in KB.
> ccmsrv online
> ccmsrv status
> ccmsrv archive /level 0
After you have completed a successful database server archive, you can put the next archive on the same tape.
root# su - informix Password: *****
If you did not set up CCM_HOME and PATH for user informix during installation, set these environment variables now. See Setting environment variables for UNIX.
$ ccmsrv offline
For example, change the tape device to /dev/rst9 and the tape size to 500,000 KB as follows:
$ ccmsrv modify -p LTAPEDEV -v /dev/rst9 $ ccmsrv modify -p LTAPESIZE -v 500000
$ ccmsrv online
$ ccmsrv status
Because you have changed the parameters, perform a database server Level 0 archive.
For example, create a Level 0 archive of the current database server using the tape device and size defined in the database server parameter file:
$ ccmsrv archive -level 0After you have completed the database server archive, you can put the next archive on the same tape (or file).