I have an old droplet that I neglected to update, but want to move the Wordpress website on it to a new droplet where everything is up to date. What’s the process? If I make a snapshot of the site, will it just include the old PHP/apache files and old Ubuntu or is that not part of the process? I made a backup of the site using Updraft that included the database, plugin files, etc. but Im unsure of how to even get to the point of using it for a new droplet.
If anyone could provide a list of steps it would be helpful. Thanks.
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!
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.
Hello,
What I could suggest here is using the WordPress 1-Click App on the DigitalOcean Marketplace. It is a great choice for setting up your new environment with Ubuntu 22.04:
The 1-Click App will install WordPress, MySQL, and all the necessary dependencies for you. It will also create a new MySQL database and user for WordPress. You can then migrate your WordPress files and database to the new Droplet.
Create a New Droplet Using WordPress 1-Click App:
Migrate Your WordPress Files:
/var/www/html
directory or wherever WordPress is installed.Importing Your Database:
Then, run the following SQL commands:
Note: Replace
new_wp_db
,new_wp_user
, andpassword
with your own values.wordpress_db_backup.sql
, you can import it with:new_wp_user
,new_wp_db
, and the path to your backup file as necessary.Update WordPress Configuration:
wp-config.php
file to update the database name, user, and password.Testing Your New Site:
Update DNS and SSL Configuration:
Final Checks and Monitoring:
Let me know if you have any questions!
Best,
Bobby