Loading...

Command Line Interface - Restore - Informix Data Agent

Use XML to restore databases.

Procedure

  1. If you are not logged on to the CommServe computer, run the qlogin command.
  2. Download the restore.xml file to the computer where you will run the command.
  3. On the command line, go to Software_Installation_Directory/Base, and then and type the following command:

    qoperation execute -af restore.xml

    -appName 'Informix' -clientName client1 -instanceName ol_informix1210 -backupsetName default -destPath '/etc4' -sourceItem '/etc'

    Notes:

  4. To log off the CommServe computer, run the qlogout command.

 

Examples

Restoring from a Current Backup

UNIX

qoperation execute -af restore.xml -appName 'Informix' -clientName client1 -instanceName ol_informix1210 -backupsetName default -destPath '/etc4' -sourceItem '/etc'

Windows

qoperation execute restore.xml -appName 'Informix' -clientName client1 -instanceName ol_informix1210 -backupsetName default -destPath '/etc4' -sourceItem '/etc'

Restoring Files to a Point-in-Time (Date)

UNIX

qoperation execute -af restore.xml -appName 'Informix' -clientName client1 -instanceName ol_informix1210 -backupsetName default -destPath '/etc4' -sourceItem '/etc' -toTimeValue 2013-10-28

Windows

qoperation execute af restore.xml appName 'Informix' clientName client1 -instanceName ol_informix1210 -backupsetName default -toTimeValue 2013-10-28

Restoring Files to a Point-in-Time (Date and Time)

UNIX

qoperation execute -af restore.xml -appName 'Informix' -clientName client1 -instanceName ol_informix1210 -backupsetName default -destPath '/etc4' -sourceItem '/etc' -toTimeValue '2011-11-28 15:40:00'

Windows

qoperation execute af restore.xml appName 'Informix' clientName client1 -instanceName ol_informix1210 backupsetName default -toTimeValue '2011-11-28 15:40:00'

Last modified: 3/1/2018 7:52:32 PM