This section describes the procedure for using onunload and onload to move a database. You can use these commands to move either a complete database or a table from one computer to another. The syntax and description of the onunload utility starts on page Syntax of the onunload Command. The syntax and description of the onload utility starts on page Syntax of the onload Command.
(The page size is two kilobytes on certain UNIX systems and four kilobytes on Windows NT.) The page size is an Informix characteristic. For information about page size, see your IBM Informix: Administrator's Guide. The numeric representation and the byte alignment are characteristics of your operating system. For information about numeric representation and byte alignment, refer to the manuals for your operating systems.
For information about oncheck, see your IBM Informix: Administrator's Guide.
If the two computers are on the same network, you can read or write the data remotely.
For information about logging status, see your IBM Informix: Administrator's Guide.
When you are loading a table, logging on the target database must be turned off. (When you are creating and loading an entire database, the logging status does not matter.)
When you are loading a table, logging on the target database must be turned off.
Specify a new table name and new dbspace name in the onload statement.