How to create a new droplet with same settings

October 25, 2014 665 views


How can i create a new droplet with the same server settings like the old one was created. (But diffirent domain and database). Please tell me the best way to do this?

1 Answer

You can take a snapshot of your current droplet, create a new droplet off of that snapshot, and then modify your configuration files replacing your old domain with the new one. You might want to delete your existing MySQL data too. To do that, run the following command:

sudo apt-get purge mysql-server 'mysql-server-core-*'
sudo rm -rf /var/lib/mysql
sudo apt-get purge 

Then follow this tutorial to reinstall MySQL.

by Justin Ellingwood
MySQL and MariaDB are relational databases used in many unique situations. However, they can pose a security risk for your system and your data if you do not secure them properly. This guide will introduce some basic considerations and steps you can take to ensure that your data is more secure.
Have another answer? Share your knowledge.