• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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