OpenSUSE 11.1 and Plesk 9.2.1 update

After more than three years of using Suse 9.3 with Plesk 8.1 on one of my VPS, I decided that it is time to update to OpenSUSE 11.1 with Plesk 9.2.1 control panel. The update process went very well, here are the steps involved:

1. create a full backup of your vps (databases, websites, accounts, emails, …). I have used “tar” command for that.
2. in plesk 8.1 control panel, do a complete backup (you need plesk backup module to be installed), or if you prefer the command line you can use the following command:

1
# /usr/local/psa/bin/pleskbackup all <backup-file>

Since version 9.x, the structure of Parallels Plesk Panel backup has been changed. Plesk backup created with Plesk Backup Manager is not just one file but a number of files and directories under backups directory /var/lib/psa/dumps. So, you will need to convert your backup file created in plesk 8.1 to be compatible with plesk 9.x. It’s a very simple process, see step 3.

3. convert the created backup file to be compatible with plesk 9.x

1
# /usr/local/psa/bin/pre9-backup-convert -v convert -d /var/lib/psa/dumps/ <backup-file>

where /var/lib/psa/dumps/ is backups directory on the server with Parallels Plesk Panel 9

4. restore the backup files to use them with plesk 9.x. It can be done using the web interface, Home -> Backup Manager -> Server Repository, click the backup name to enter the backup details page and select the required restoration options and click Restore to start the restoration process.

If you would like to use command line to restore your domains, clients, server configuration, … then you can use the following command:

1
# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/<your backup xml file> -level server -verbose -debug

You can restore only clients or domains, for more options see:

1
# /usr/local/psa/bin/pleskrestore --help

Note: I had a small problem and I found that it is not possible to have a client with the same name as your name in Plesk Admin Profile. Maybe it is stupid, but I had some errors and only after I changed the name in Admin Profile (in Plesk control panel) to be different, I could restore without any problem everything.

I think that’s all what I did, from what I remember. If something is missing I am sure you can find a lot of useful stuff using our friend google.

Other useful stuff:

1. Plesk 9.x support as well postfix, so if you want to change from qmail to postfix, try that:

1
# /usr/local/psa/bin/autoinstaller --select-release-current --install-component postfix

if you are not happy, you can switch back to qmail:

1
# /usr/local/psa/bin/autoinstaller --select-release-current --install-component qmail.

If you are not sure if you are using qmail or postfix there are many ways to find that, one is to look in Plesk Control Panel on the Services management page {Home -> Services Management} if you have SMTP Server (Postfix) or SMTP Server (QMail)

If you decide you want to switch back, simply, do it, the emails are not lost, don’t worry.

2. Replace Horde webmail with AtMail

One of the many new features of Plesk 9, is the option to choose a different webmail client. The default webmail client Horde can be replaced if you are looking for something a bit lighter, AtMail. You need to install from Plesk Control Panel, both webmail clients, and to switch between them:

If you decide you want to switch back, simply reverse the procedure, the emails are not lost, don’t worry.

That’s all.

References:

http://kb.parallels.com/en/5819
http://kb.parallels.com/en/5801
http://kb.parallels.com/en/952
http://kb.parallels.com/en/5969
http://kb.parallels.com/en/5864

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

It would be interesting to give also a short introduction to plesk and why you find this app useful.

Hi Bogdan, thanks for your comment but I think you can find a lot of good reviews about that on net, so, there is no reason for a new one. To be honest, in my case the server came with plesk, so, I said “why not” :)

Leave a comment

(required)

(required)