Article ID: 114532, created on Aug 8, 2012, last review on Dec 24, 2014

  • Applies to:
  • Web Presence Builder
  • Plesk for Linux/Unix


Content management was enabled for the domain The site existed in Web Presence Builder and was published to the domain.

The site was accidentally removed from Web Presence Builder (WPB) by clicking on either More > Start Over or More > Remove Site:

Is it possible to restore the site from the domain


The site can be restored from a snapshot located in the /data/snapshots directory of the domain where it was published.

When you create a new site for the domain, old snapshots are not shown in Web Presence Builder, even if the files exist in the file system. This is because the name of the main XML file contains the ID of the old site. To show old snapshots for new sites, it is necessary to rename the XML file:

1) Check snapshots:

~# ll /var/www/vhosts/
total 252
-rw-r--r-- 1 testcust psacln    223 Jul  1 13:34 03a21c5dbeaf22159bc109374638f61f_list.xml
-rw-r--r-- 1 testcust psacln 250139 Jul  1 13:34 3b395edf0050931a8632de93a4d3085a.php

Here, 03a21c5dbeaf22159bc109374638f61f is the ID of the old site that was published to the domain

2) Create a new instance of the WPB site for the domain through Parallels Plesk:

Subscriptions > > Manage hosting (or "Open in Control Panel" for Plesk 10.4) > Launch Web Presence Builder > Edit in Web Presence Builder

3) Define the Site ID by the name of the Plesk domain:

mysql> select as 'Plesk Domain', s.uuid as 'Site uuid', s.site_id as 'Site ID' from d, psa.dom_param dp, s where and dp.param='site_builder_site_id' and s.uuid=dp.val and''"
| Plesk Domain | Site uuid                            | Site ID                          |
| | d116751c-458c-5179-3f57-142135a67b3c | 172bc09617fa3dcafded8e53377097d5 |

4) Rename the XML file to make it fit the new Site ID:

~# mv /var/www/vhosts/ /var/www/vhosts/

5) Refresh the page with the new site instance. Snapshots should be shown on the "Revert" page. As soon as they are available in WPB, you can restore them by clicking "Load."

The method is the same in Parallels Operations Automation (POA), with the only difference being publishing the location path.

NOTE: After the snapshot is restored, there may be an additional issues with site images because they have the old location paths in the WPB database. As a result, they may not be visible in the restored site.

To solve this, re-upload the images or change the paths in the database:

~# mysqldump --disable-extended-insert  sitebuilder5 > sb_backup.sql
~# grep "03a21c5dbeaf22159bc109374638f61f" sb_backup.sql|grep widget_property
INSERT INTO `widget_property` VALUES (570,462,'content','<p><img id=\"mce-548\" style=\"float: left; margin-right: 20px;\" title=\"helloworld\" src=\"/sitebuilder/sites/03/03a21c5dbeaf22159bc109374638f61f/attachments/Image/helloworld.jpg\" alt=\"helloworld\" width=\"1631\" height=\"743\" /></p>');

Find the strings with the old paths and replace them with the new values. For example, change /sitebuilder/sites/03/03a21c5dbeaf22159bc109374638f61f /attachments/Image/helloworld.jpg to /sitebuilder/sites/17/172bc09617fa3dcafded8e53377097d5/attachments/Image/helloworld.jpg.

Search Words

web presence builder issue


криво отображается сайт после публикации

cannot edit website in web presence builder new subscription

Old page shows when opening Parallels Presence Builder 11.5.12-406


56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 9305481d3bd31663b68451e3bfdec5a5

Email subscription for changes to this article
Save as PDF