Michael MacDonald
Basic Pleskian
I have been trying to get a successful restore in order to test a migration plan. I built a virtual machine and copied one of my backup files from my production server to the virtual. Both machines - the production and the virtual - are the exact same version of Plesk. The source machine is running RHEL and my target is running CentOS 5.5. I start my restore using the following method:
After I build the virtual machine, I add the private IPs to my virtual server that Plesk will need.
With Plesk 9.3 installed do the following:
create ipmap file using the --create-map command. I modify the mapping file to match the private IPs I have on the VM environment. Now the mapping file and the system both have the same IP addresses available.
I start the restore with the following command:
/usr/local/psa/bin/pleskrestore --restore Pleskbackup.dump -map ipmap.txt -level server
Things run for a while but stop with a rather large error log in pmmcli.log.
There appears to be only one section where I find STDERR label:
== STDERR ====================
23006: 2011-03-25 16:43:07,023 DEBUG Prepare to call guids fixer
23006: 2011-03-25 16:43:07,155 INFO Executing <subprocess[23013] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --fix-guids --restore-specification=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml --restore-specification-out=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml.tmp --session-path=/usr/local/psa/PMM/rsessions/20110325164251488'>
23006: 2011-03-25 16:43:12,628 INFO Subprocess raised ExecuteException: Subprocess <subprocess[23013] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --fix-guids --restore-specification=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml --restore-specification-out=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml.tmp --session-path=/usr/local/psa/PMM/rsessions/20110325164251488'> was finished with exit code 254
== STDOUT ====================
== STDERR ====================
PLEASE advise on how to fix this.
Thank you.
After I build the virtual machine, I add the private IPs to my virtual server that Plesk will need.
With Plesk 9.3 installed do the following:
create ipmap file using the --create-map command. I modify the mapping file to match the private IPs I have on the VM environment. Now the mapping file and the system both have the same IP addresses available.
I start the restore with the following command:
/usr/local/psa/bin/pleskrestore --restore Pleskbackup.dump -map ipmap.txt -level server
Things run for a while but stop with a rather large error log in pmmcli.log.
There appears to be only one section where I find STDERR label:
== STDERR ====================
23006: 2011-03-25 16:43:07,023 DEBUG Prepare to call guids fixer
23006: 2011-03-25 16:43:07,155 INFO Executing <subprocess[23013] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --fix-guids --restore-specification=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml --restore-specification-out=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml.tmp --session-path=/usr/local/psa/PMM/rsessions/20110325164251488'>
23006: 2011-03-25 16:43:12,628 INFO Subprocess raised ExecuteException: Subprocess <subprocess[23013] '/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/backup/Conflicts/Runner.php --fix-guids --restore-specification=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml --restore-specification-out=/usr/local/psa/PMM/rsessions/20110325164251488/restore.xml.tmp --session-path=/usr/local/psa/PMM/rsessions/20110325164251488'> was finished with exit code 254
== STDOUT ====================
== STDERR ====================
PLEASE advise on how to fix this.
Thank you.