== Backup with ontape (backing up to standard output) == 1. Set LTAPEDEV /dev/null 2. Set TAPEDEV to STDIO in $ONCONFIG or use -t STDIO to redirect ontape backup to standard output. Examples: The following example shows how to create a level-0 archive of all storage spaces to standard output, which is diverted to a file named level_0_archive in the directory /backup: ontape -s -L 0 >/backup/level_0_archive The following example creates a level-1 archive to standard output, which is diverted to a pipe: ontape -v -s -L 1|gzip - >/backup/level_1_archive.gz == Monitoring backup == You can monitor the history of your last full-system backup using oncheck. Execute oncheck -pr to display reserved-page information for the root dbspace == Restoring with ontape (from standard input) == Before restoring backup stop the informix server onmode -k In the following example, ontape performs a physical restore from the file level_0_archive, which contains the archive previously performed to standard output: cat level_0_archive | ontape -p In the following example, ontape performs a restore of a level-0 archive, followed by a restore of a level-1 archive: cat /home/level_0_archive /home/level_1_archive | ontape -r Note: When these restores are completed, the database server is left in single-user mode. Retruning from Quiescent to Online mode onmode -m