This is an archive version of the document. To get the most up-to-date information, see the current version.

Restoring WPARs with Command-Line Interface

In this article

    You can use the Veeam Agent for IBM AIX command-line interface to restore data pertaining to a WPAR from the WPAR backup.

    Before you start the restore process, make sure that the WPAR you want to restore is stopped.

    To perform WPAR restore, use the following command:

    veeam_backup [-v] -n <name> [-V <version>] -r / <path/to/wpar>

    where:

    • -v — option that enables the verbose output (disabled by default).
    • -n <name> — option that defines the name of the WPAR that you want to restore.
    • -V <version> — option that defines the backup version. Specifying the backup version allows you to restore a WPAR to a specific point in time. For the veeam_backup command, the backup version is the number of the WPAR backup file that follows the WPAR backup file created at the point in time to which want to restore the WPAR.

    For example, if you want to restore a WPAR to the point in time when the third backup file for this WPAR was created, you must use the -V 4 option in the command used to perform WPAR restore.

    To view the list of backup files created for the WPAR, use the following command: veeam_backup -n <name> -l. In the list of backup files, Veeam Agent for IBM AIX will display paths to WPAR backup files, as well as date and time when each backup file was created.

    • -r — option that defines the restore operation.
    • / — path to the root directory of the file system of the WPAR that you want to restore.
    • </path/to/WPAR> — path to the WPAR directory in the file system of your machine.

    Example

    The following example displays a command to restore a WPAR with the name wpar01 from the first two backup files in the backup chain. The WPAR will be restored to the point in time when the second backup file in the backup chain (that is, container-wpar01.tar.gz.0) was created.

    veeam_backup -n wpar01 -V 3 -r / /wpars/wpar01