Before starting PIM backup procedure we have to make sure that Service Container #1
is stopped.
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
To restore the PIM installation, the following command is used:
# cscript pimRestoreData.vbs [--force]
A backup is created in the folder that we have specify after pimBackupData.vbs as
. 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
To restore the PIM installation, the following command is used:
#perl /opt/vzagent/bin/pimRestoreData [--force]
The backup is being created in the subfolder of the
directory (the subfolder is being automatically
created during the backup creation).
To restore the created backup, you need to specify the full path to the
/ 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/
No comments:
Post a Comment