• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Restore not possible

P

pro---studio

Guest
Hi,

I need urgent help:

I did a backup of my domains with

/usr/local/psa/bin/pleskbackup all /srv/backup/backup.bkp

I reinstalled the server with the same OS (Suse 10.2 and Plesk) and tried to restore the backup. That is not possible:

/usr/local/psa/bin/pleskrestore --restore psa-backup-190208.bkp -level all -map map.txt
WARNING: Backup file has wrong signature for this server
------------------------------------------------------------------------
Restore has been started
------------------------------------------------------------------------
Vergangene Zeit: 00:00:00
Vergangene Zeit: 00:00:05Failed validation of the document with external DTD /usr/local/psa/PMM/plesk.dtd. The errors are: Value "info_not_required" for attribute name of pinfo is not among the enumerated set.

Anyone with a solution to this? Need it urgent because the server and the domains are not reachable anymore. And of course the Email configration is not set.

Can someone please help me?

Thank you!
 
i don't have a solution but i guess this message can be ignored:

WARNING: Backup file has wrong signature for this server

because i got it too as i restored my backup and it went (mostly) ok.

maybe try to not restore "all" but client after client or single domains.
 
I tried that too, but had no luck.

Even if I try to restore a single domain I get the same error as posted above.

Any solution?
 
hi. the problem is original database has corrupted lines, presumably template, client, domain limits or permissions. they all have trails with whitespaces. this fact influence on the backup can be checked like this:
# zgrep '<permission.*"false[[:space:]]' [backup file] | head -1 | hexdump -bc

how to fix now: try to unzip the file and strip all spaces, then zip back.

the only way to avoid this in future - strip excessive whitespaces from the database. no idea how do they get there, most probably after buggy conversion latin1->utf-8 and reverse
 
I beg to differ

Having a node with a name of 'info_not_required' and a value of 'true' does not a whitespace issue make.
However, simply removing that line from the dump makes the restore work ;-)
Enjoy.
 
Back
Top