• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Question Problem with Backup/Restore during Linux-update

SiegbertG

Basic Pleskian
Server operating system version
Ubuntu 20.4.LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.34 Update #2,
Hello,
yesterday I tried to update my virtual sever hosted by STRATO. Last time that was done very easy and I did it the same way:
- do the update on a day when my weekly full-backup was created (every night a 3:00, one full-backup per week and incremental on the othe days)
- install a complete new Linux-environment including Plesk on the virtual server (the only way to do an update by STRATO)( old one was ubuntu 16.4.LTS wirh Plesk, new one Ubuntu 22.4 LTS with Plesk)
- restore the Plesk-backup-file
The old version was Ubuntu 16.4 LTS, the new one was Ubuntu 22.4 LTS

This time it doesn't work. Plesk retored all files but gave me some warnings after restore. One of them was, that I forgot to install DNS-(bind)-service. So none of the domains could be found from the internet.
OK, seams to be easy: install the DNS(bind)-Servcie and try again.
I did it this way:
- install the DNS(bind)-service via tools&settings -> updates -> add components
- start bind
- restart the server, check in Plesk if DNS bind was started -> OK, all seams to be fine.
- restore the backup again -> here I choose to only restore the configuration, not all the files of the websites, because the files are already restored and the DNS(bind)-error is only a configuration-problem and restoring the files needs about 2 or 3 hours (30GB backup-tar-file) .

But after restoring the configuration the warning remains the same: no DNS service installed.
Addinionally Plask sets new password for a lot of (all?) users.

I will try to do the update again, but I have to know what I have done wrong to avoid doing the same mistake again.
Maybe the backup was password-saved (I ste up the weekly backups some years ago and am not sure if I used a password, but during restore Plesk don't ask me for a password so I think the backup was not protected.

I had to reset the server immediately to the last STRATO full server-backup to bring up the websites again. So no messages or settings from the unsuccessful restore are available now for analysing what was gone wrong :-(.

Can anyone see a mistake in my steps to do the update and restore?

Many thanks
Siegbert
 
The created Plesk backup encrypts the passwords with the install key or with a password. Since you restored the Plesk backup on a new install the install key was different and it couldn't decide the passwords, generating new passwords for all accounts

Export the backup you want to restore from with a password and import it on the new server, entering the password used at the export step.
 
Hello Raul,
many thanks for your reply. Can you also identify a reason why the DNS service recognition is not working? Could this also be due to the password?
 
The DNS service doesn't work at all or one or several domains don't have the proper DND records that were set on the old server?

For the first, the service might not be installed or running

For the second, there might be restore errors during the DNS zone import
 
Hello Raul,
as I wrote in my first post, I had intalled the DNS-Service and checked that it was running before the restore of the configuration. Nevertheless, it was reported for all domains that the DNS service was not installed.

What can I don't to avoid this in my next try?
 
So, on the new server adding a new temporary domain doesn't have the DNS settings?
How did you install the DNS service?
 
As I wrote in my first post I installed the service via tools&settings -> updates -> add components and choose DNS(bind).
I am using plesk in German so I hope I translated the menu-structure correct.
 
as I wrote in my first post the warning in Plask is "The DNS service is not installed. The DNS settings will not be restored for the following objects:" and after that all doamins are listed.

I will describe my approach again step by step:
- first I reinstalled the operating system (Ubuntu 22.4 LTS instead of Ubuntu 16.4 LTS)
- Then I run the restore in Plesk using the full backup, which is created once a week.
- I have forgotten to install DNS(bind) before restore -> Warning "The DNS service is not installed. The DNS settings will not be restored for the following objects"
- ok, that's not a big problem - just install DNS(bind) and restore again
- install DNS(bind) via tools&settings -> updates -> add components and choose DNS(bind).
- reboot the operating system to be sure, that all changes can take place
- run Plesk and check -> Services -> DNS (bind) is running -> OK
- restoring only the configuration from the backup-file not the whole content of the stored sites/domains
- again "The DNS service is not installed. The DNS settings will not be restored for the following objects"
- one more try: Plesk -> Tools&Settings->DNS-Template->Apply Template Changes
- check if DNS works -> no, every domain comes to the same "Plesk Default Page",
- one more time reboot the operating system
- again restoring the configuration from the backup-file not the whole content of the stored sites/domains
- again "The DNS service is not installed. The DNS settings will not be restored for the following objects"

Have I omitted a necessary step for DNS? Are further steps necessary after a new installation of Plesk on a new server (e.g. after installing a newer Linux version + Plesk) so that the restore process can work correctly?
 
Back
Top