• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

backup restore

eilko

Regular Pleskian
Hi, please advice:

I made a backup of the complete sitebuilder 4.2.0 (centos4) with
Code:
sbbackup  all > backup.xml

Now I try to restore one client on a different machine running sitebuilder 4.2.0 (centos5) with
Code:
sbrestore user--name=willem --with-sites --with-site-contents --resursive < backup.xml

the output is:

Code:
Processing "user"...
...willem
......user custom settings
......user hosts
......user site families
......user plans
......user sites
.........Willem Brons
.........Stamboom
Done

but only the user is added, not the sites nor its contents.

Any idea?
 
Actually, Sitebuilder backup and restore utilities are not reserved for migrating content between Sitebuilder servers. You can backup / restore users and sites within one server. The thing is that 'sbrestore' uses current server configuration for restoring content and as configuration on destination server is different content will not be restored.
 
Hmm... what is the correct way to move my sites to a new server? The old one is dying...
 
There is no special tools in Sitebuilder for migration yet. But if you wish to migrate all sites and all clients you can try manual migration in this case. Make sure that the same version of Sitebuilder installed on source and destination servers. After that you need to move Sitebuilder database - 'sitebuilder3' and content with configuration:

<SB_ROOT>/htdocs/sites/ - sites directory
<SB_ROOT>/htdocs/images/logos/ - logos directory (if you have any custom logos)
<SB_ROOT>/config - Sitebuilder configuration file.

If you have the same OS on destination server it is simpler to move whole directory <SB_ROOT> - /usr/local/sitebuilder/ or /opt/sitebuilder/ on Debian and Ubuntu.
Check it up. Hope it helps.
 
Source server: Centos4/Sitebuilder 4.2.0 (upgraded from 3.0.2)
Destination server: Centos5/Sitebuilder 4.2.0

copied <SB_ROOT>/htdocs/sites/ to destination server
renamed sitebuilder3 table on destination server
exported sitebuilder3 on source server
imported sitebuilder3 on destination server

had to login with old password from source server. Everything worked fine. Had to enable a few new modules.
 
Dmitry thanks for your help, it would be nice if we could use the backup/restore for these kind of migrations.
 
Back
Top