Article ID: 6541, created on Jul 25, 2009, last review on May 11, 2014

  • Applies to:
  • Plesk Sitebuilder 4.x for Linux/Unix


The following error is shown when I try to restore site with sbbackup:

~# cat SITE.DUMP | /usr/local/sitebuilder/utils/sbrestore site --name=<SITE "NAME"> --parent-name=<USER NAME> --with-site-content
Processing "site"...
Exception: 'PHP Warning : DOMXPath::query(): Invalid predicate' in file '/usr/local/sitebuilder/include/SB/BRU/Restore.php' on line 76

Please wait while the permissions are being set

What causes the problem and I to resolve it?


The error is caused by double quotes (") in site name: <SITE "NAME">.


The problem will be fixed in future update of Parallels Plesk Sitebuilder that is going to be released after 4.5.

Currently it is recommended to avoid usage of double quotes (") in site name.
Sites with single quote (') in name are restored correctly. Through Parallels Plesk Sitebuilder GUI it is possible to rename site. For that login to Parallels Plesk Sitebuilder and open the site: Sites -> <SITE NAME>. On page General change Site Name click button OK.

Additional information

Use the following commad to backup site <SITE NAME>:

~# /usr/local/sitebuilder/utils/sbbackup site --name=<SITE NAME> --parent-name=<USER NAME> --with-site-content > SITE.DUMP

ea6a61e571a858aa6019ceb068ea403a fad6dc0c8e983c17ae70a51ac7952cd0 d055be4fdc562a8ecb8e6d0bf419f946 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF