Product:
Search Type:

[How to] How to backup and restore Parallels Infrastructure Manager.

Article ID: 5431 
Last Review: Jul,22 2008
APPLIES TO:
  • Virtuozzo Containers for Windows 4.0
  • Virtuozzo Containers for Linux 4.x

SYMPTOMS

This knowledge base article is meant to provide the description of a new tool available since PIMU400003 and allowing to easily back up the Virtuozzo Tools 4.0 configuration (VZAgent & PIM) and to quickly restore it in case of a failure.
The tool includes a number of helper scripts for users enabling them to create Virtuozzo Tools configuration backups and to restore them, if necessary.

RESOLUTION

Windows:

The scripts are located in "C:\Program Files\SWsoft\Virtuozzo\VZAgent\bin" folder.
 
To back up the PIM installation the following command is used:

cscript pimBackupData.vbs <backup_folder>

 
To restore the PIM installation, the following command is used:

cscript pimRestoreData.vbs [--force] <backup_folder>

 
A backup is created in the folder you specify after pimBackupData.vbs as <backup_folder>. To restore the created backup, it is necessary to specify the path to this folder after pimRestoreData.vbs.
 
 Examples:

 - To back up the current PIM configuration into the C:\temp folder:
 
cscript pimBackupData.vbs C:\temp\

 
 - To restore the PIM configuration previously backed up into the C:\temp folder:
 
cscript pimRestoreData.vbs C:\temp



Linux:

To back up the PIM installation, the following command is used:

perl /opt/vzagent/bin/pimBackupData <backup_directory>

 
To restore the PIM installation, the following command is used:

perl /opt/vzagent/bin/pimRestoreData [--force] <backup_directory>

 
The backup is being created in the <current_date> subfolder of the <backup_directory> directory (the <current_date> subfolder is being automatically created during the backup creation).

To restore the created backup, you need to specify the full path to the <backup_directory>/<current_date> directory after pimRestoreData.

Examples:

- To back up the PIM configuration into the /tmp directory (during the backup creation, the /tmp/2008-06-27T14-40-00 folder is automatically created):

perl /opt/vzagent/bin/pimBackupData /tmp/

 
 - Assuming that the /tmp/2008-06-27T14-40-00 folder was created when running the previous command and that this folder is used to store the created backup, you can restore the PIM configuration as follows:
 
perl /opt/vzagent/bin/pimRestoreData /tmp/2008-06-27T144000/
Keywords: PIM backup

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields