• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

8.0.1 data restore failing with ERROR: PleskDOMException

D

dtb71

Guest
Before posting I searched but couldn't find an answer - sorry if I'm posting an already discussed/solved issue...

I am moving from one server to another - with different IP addresses... here's what I did:
Old server = 206.xxx.xxx.xxx - Plesk 8.0.0 - Fedora Core 4
New server = 66.xxx.xxx.xxx - Plesk 8.0.1 - Fedora Core 4


I created the backup on the old server using:
/usr/local/psa/bin/pleskbackup --all /home/plesk_backups/plesk_daily_Backup


it created 3 files:
plesk_daily_Backup
plesk_daily_Backup.001
plesk_daily_Backup.002


I ftp'd (binary mode) the 3 files over to the new server with no issues


On new server I created the map file:
/usr/local/psa/bin/pleskrestore --create-map plesk_daily_Backup -map pleskDataMap


I made (1) change in the map file to update the IP address:
206.xxx.xxx.xxx -> 66.xxx.xxx.xxx


I validated the map:
/usr/local/psa/bin/pleskrestore --validate-map pleskDataMap
Map file validates


I attempted to restore all data and got multiple errors with huge xml dump:


/usr/local/psa/bin/pleskrestore --restore plesk_daily_Backup -level all -map pleskDataMap
ERROR: PleskDOMException
Malformed XML:

0: /usr/local/psa/admin/plib/PMM/MigrationDemon.php:76
DaemonRunner::validateXml(string '<?xml version='1.0' encoding='UTF-8'?>
<action>
<set-migration-objects>
<selected-objects><migrate-server><client><name>newleaftoday</name><ip><old><ip-type>shared</ip-type><ip-address>206.xxx.xxx.xxx</ip-address></old><new><ip-type>shared</ip-type><ip-address>66.xxx.xxx.xxx</ip-address></new></ip><domain><name>

....and this xml dump goes on and one with a few more errors

I tried several times and no go.

Anyone seen this problem or have a solution for me?

I've done a restore before on Plesk 8.0.0 on the same box (after loosing a hard drive) and it worked flawlessly... but this is failing immediately!?!

THANKS FOR YOUR HELP!!
 
Well - I got no help or support from swsoft... until after I resolved the problem! They could have saved me 2+ hours of wasted time!

So - here's what I did:

Well, actually, first the swsoft response... "check and upgrade if needed your Plesk to the latest 8.0.1 build with all hotfixes and backup utilities "
Gee... thanks! I wish they would have responded this way when I called on the phone. Could have pointed me to the new backup tool and eliminated over 2 hours of wasted time and frustration!

Anyway - after doing my own searching I found a posting in the forums for a NEW and UPDATED backup utility "Plesk Backup Agent v8.0.1" - you can read about it here: ftp://download1.swsoft.com/Plesk/Plesk8.0/Extensions/bu/backup-agent-8.0.1.html

So I downloaded the new backup utility and re-ran the whole scenario (created the backups, ftp'd them over, created map and attempted restore) and it seems to have worked just fine!

Must have been a bug in the backup utility in v8.0.0 ??
 
Back
Top