Question

How to create a new droplet with same settings

Posted October 25, 2014 1.9k views

Hi,

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?

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.

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.
Submit an Answer