Use these commands to perform operations from the command line.
These commands only restore data stored in the Informix instance. They do not restore any software or configuration information.
By default, infx does backup and restore with ontape to directories. This is controlled by setting the BARMANAGER parameter in config.ini.
For information about using onbar or other commands, see infx guide: 8. BAR managerrestoreinfx supports the following types of restore: pre & post commands- You can define a pre or post command for each type of restore
- These are automatically executed by the infx restore service
- If the pre command fails (non 0 exit code), the restore command will not be executed
- The post command is only executed if the restore command succeeds
- Post commands should check the instance status, not all restores result in the instance being online
- See sub-infx-ontape.ini for the full backup and restore command definitions. Copy the file to /infx/local/etc and make changes there
more informationnotes- for a complete backup of the host, you need to backup the informix & infx software, plus the configuration file information.
- these backups write data to disk, you should also set up a backup of this data, such as to tape or another host with rsync
- restores will not run unless the instance being restored is down, specify force=yes to force the instance done first
- instances in recovery mode after a restore, specify online=yes to override and bring the instance online
more information- infx guide: 8. BAR manager, set up individual backup and restore commands
|
|