Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

[How to] How to migrate sites and users to another Sitebuilder server?

Article ID: 5512 
Last Review: Nov,13 2009
Author: Bezborodova Anastasiya
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Sitebuilder 4.5 for Linux/Unix

Resolution

Content of Sitebuilder page modules (Guestbook, Registration, Image Gallery, Blog, File Download, eShop, External Page, Flash Intro, Forum) is stored on server where site is published to. So modules content (Images in Gallery, posts in Forum, eShop products, etc) would not be migrated with instructions below. Only pages content is migrated.

To save modules content it is recommend to keep publishing location unchanged after migration.

Parallels Plesk Sitebuilder should be migrated from one server to another as a whole. Feature for migration of single sites and clients will be available in future version of Parallels Plesk Sitebuilder.

Before migration you need to have exactly the same configuration on new server, same version of Sitebuilder application, modules and templates. Use the scheme below for migration of Parallels Plesk Sitebuilder.

1. Copy sites directory /usr/local/sitebuilder/htdocs/sites (/opt/sitebuilder/htdocs/sites for Debian/Ubuntu) to new server. You should replace existent directory and fix permissions with script fix_permissions:

~# /usr/local/sitebuilder/utils/fix_permissions

The file is /opt/sitebuilder/utils/fix_permissions for Debian and Ubuntu.

2. Copy Sitebuilder configuration file /usr/local/sitebuilder/config (/opt/sitebuilder/config for Debian/Ubuntu) to new server and correct permissions.

~# ls -l /usr/local/sitebuilder/config
-rw-r--r-- 1 root root 1788 Dec  9 11:55 /usr/local/sitebuilder/config
~#

Sitebuilder configuration file is /opt/sitebuilder/config for Debian/Ubuntu.

3. Migrate Sitebuilder database sitebuilder3 to new server. You may get name of Sitebuilder database using utility sb_config:

~# sb_config --help | grep sb_db_name
 --sb_db_name         Sitebuilder database name [sitebuilder3]
~#

4. Update hostname and IP address in Sitebuilder configuration:

~# sb_config --sb_hostname=NEW.SITEBUILDER.HOSTNAME --sb_host_ip=NEW.IP --force_update_wscfg

recreate Sitebuilder MySQL user sitebuilder_db:

~# sb_config --db_admin_name MYSQL.ADMIN.USER --db_admin_passwd MYSQL.ADMIN.PASSWORD --force_update_db

Where MYSQL.ADMIN.USER and MYSQL.ADMIN.PASSWORD are user name and password of mysql administrator.

NOTE: Utilities sbbackup and sbrestore cannot be used for objects migration between servers.

Sitebuilder migration manager is under development now. It will be available in future version of Parallels Plesk Sitebuilder.

Additional information

For details about creation of Sitebuilder backup refer to this article http://kb.parallels.com/en/5884.
Keywords: migration; backup; sbbackup; sbrestore;


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products