Question

Migrate WordPress on Webmin with all data ?

Hello,

I would like to have some information please, I have installed WordPress manually via Ubuntu 20.04 with the Contabo VPS.

I would like to know if it is possible to migrate my WordPress website without losing my data (plugins etc…) on Webmin? Knowing that I don’t have any WordPress files since everything is on the Ubuntu server.

If it is possible, can you please tell me how to do it?

Thanks in advance.

Sincerely,


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

KFSys
Site Moderator
Site Moderator badge
November 10, 2022

Hi @3093a2c8f8754064b8f588ac1c017,

Yes, it’s possible.

When talking about migrations, before you start migrating your websites you’ll need to configure everything else.

General

We have a series of tutorials that cover the process of migrating from one Linux server to another which you can check here:

https://www.digitalocean.com/community/tutorial_series/how-to-migrate-to-a-new-linux-server

In general, depending on your site/application you will need to spin up a droplet that matches your current hosting provider environment or at least is suitable for your app/site needs (e.g running the same PHP version). Then you need to migrate your data (files, users, database and etc).

LAMP/LEMP setup

You can follow this tutorial for a LEMP setup: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-22-04

You can follow this tutorial for a LAMP setup: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-22-04

CMS(WordPress)

Additionally, if you are using WordPress as a CMS, you can use the WP All in One plugin or Duplicator to migrate all of your WordPress websites.

https://wordpress.org/plugins/all-in-one-wp-migration/

https://wordpress.org/plugins/duplicator/

You’ll still need to follow the LEMP or LAMP stack tutorials before starting with WordPress

Direct Transfer

If you have to move some of the data manually you can do that via ssh using scp or rsync. Another option is to use an FTP client like FileZilla

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

MarketPlace

Lastly, you can check the Marketplace

https://marketplace.digitalocean.com/

For any preprepared Droplets that might be of help for you

Hope this helps!

alexdo
Site Moderator
Site Moderator badge
November 9, 2022

Hello there,

In order to fully migrate a WordPress site you’ll need to export the files (wp-content will be the main and most important directory) and also export the database and move them to the new server.

You can check this question which was previously asked in our community

https://www.digitalocean.com/community/questions/how-to-move-migrate-wordpress-site-to-do

Regards

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.