# Restore Virtual to new server

**URL:** <https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159>\
**Category:** Virtualmin\
**Created:** [July 25, 2024, 2:19pm UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159 "2024-07-25T14:19:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TTKDeveloper](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@TTKDeveloper](https://forum.virtualmin.com/u/TTKDeveloper)\
**Post date:** [July 25, 2024, 2:19pm UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/1 "2024-07-25T14:19:45Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | UBUNTU 22.04 |
| Webmin version | 2.111 |
| Virtualmin version | 7.20.1 |
| Webserver version | ??? |
| Related packages | SUGGESTED |

We have created a new test server on Ubuntu 22 and am migrating some sites over from our old server which was Ubuntu 18. I have tried restoring from backups already created and stored, creating new backups with different settings that leave out the SSL settings altogether but no matter what the restore fails because it cannot find the same SSL that it was sharing on the original server.  
Can you advise what options I need or need to omit in order to get the server restore to work please ?

Thanks

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [July 25, 2024, 3:53pm UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/2 "2024-07-25T15:53:49Z")

</div>

This doesn’t make full sense, have requsted a new certificate using let’s encrypt ? You put question marks in the system details for web server (the chioce here would be either apache or nginx) this may have a baring on the issue. Are you using cloudflare?

---

<div class="post-metadata">

**Author:** ![TTKDeveloper](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@TTKDeveloper](https://forum.virtualmin.com/u/TTKDeveloper)\
**Post date:** [July 26, 2024, 6:05am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/3 "2024-07-26T06:05:21Z")

</div>

Oh I see thankyou for the clarification - its Apache we are using.

Basically we do not get to an opportunity to do a certificate with Lets Encrypt because the restore doesn’t continue past the message. When doing the restore, we click Restore all options then deselect the Apache SSL configuration and certificate and then hit proceed. The summary of what it will install then shows  
" Apache webserver configuration  
Mail/FTP users and mail aliases  
Logrotate configuration for log file  
Records in DNS domain, except SOA  
Contents of server’s MariaDB databases  
Virtual server password, description and other details  
AWStats configuration file"  
Then as it proceeded with the extraction and install it would stop on the error message about it could not find the shared SSL certificate (which was on the original server).

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [July 26, 2024, 6:32am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/4 "2024-07-26T06:32:05Z")

</div>

> [@TTKDeveloper](#):
>
> it cannot find the same SSL that it was sharing on the original server.

what does this mean ? most domains use their own certificate, which is not normally shared.  
if you view the archive you are going to restore do you see the directory `.backup` , if so can you see the certificates there `<domain-name>_ssl_<file>` where `<file>` is cert, key and ca

---

<div class="post-metadata">

**Author:** ![TTKDeveloper](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@TTKDeveloper](https://forum.virtualmin.com/u/TTKDeveloper)\
**Post date:** [July 26, 2024, 9:01am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/5 "2024-07-26T09:01:39Z")

</div>

I could not agree more - hence the post! It was shared because it was a subdomain to a parent which had the certificate, so on the original I could see what it meant, what didnt make sense was the fact that it was whining about it but I was not trying to move or copy the SSL details.

In trying to run it so I could copy some details for you direct from the server in question, it has just restored the virtual without issue - using the same settings I previously used and described in the post. I cannot confirm whether this was a server or a virtualmin bug or abberation, only that we were meticulous with the process and actually went through it repeatedly as a team to make sure.  
I am not sure what to take from this in going forward but thanks for your reply and attempts to help jim

---

<div class="post-metadata">

**Author:** ![jimr1](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jimr1/32/14173_2.png) [@jimr1](https://forum.virtualmin.com/u/jimr1)\
**Post date:** [July 26, 2024, 9:06am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/6 "2024-07-26T09:06:01Z")

</div>

Ah I see, as a footnote I always request a certificate for a sub server in it’s own right whether it is a sub domain of the parent or not, hence never seeing the problem

---

<div class="post-metadata">

**Author:** ![DonPeek](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/donpeek/32/513_2.png) [@DonPeek](https://forum.virtualmin.com/u/DonPeek)\
**Post date:** [July 27, 2024, 1:06am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/7 "2024-07-27T01:06:15Z")

</div>

I am updating a Cento 8 to Debian …

I found the template the system was made with server template 14 years old does act the same way that a new default server template acts. And can you change it but, the new one makes links to Vertualmin,postfix, dovecot; the old one didn’t and they are not created.

Just something to watch for in the SSL upgrade I found…

Don

---

<div class="post-metadata">

**Author:** ![TTKDeveloper](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/779978/32.png) [@TTKDeveloper](https://forum.virtualmin.com/u/TTKDeveloper)\
**Post date:** [July 29, 2024, 10:40am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/8 "2024-07-29T10:40:41Z")

</div>

Thanks to you all for feedback - much appreciated 🙂

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [September 27, 2024, 10:40am UTC](https://forum.virtualmin.com/t/restore-virtual-to-new-server/128159/9 "2024-09-27T10:40:50Z")

</div>

Closed on September 27, 2024, 10:40am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
