Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

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

Article ID: 5431 
Last Review: Mar,16 2009
Author: Kichigin Aleksey
Last updated by: system APPLIES TO:
  • Parallels Virtuozzo Containers Tools

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 on x86 system and "C:\Program Files (x86)\SWsoft\Virtuozzo\VZAgent\bin" folder on x64 system.
 
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


Note: Pathname to the backup folder should not contain "space" symbols.

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: backup restore PIM
Keywords: PIM backup


Subscription for changes to this article Subscription for changes to this article

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.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products