Can I create a clone from a dropplet?

October 24, 2013 43.4k views
for example, I have a dropplet A and I want a new dropplet B as a clone from A
8 Answers
Power off Droplet A and create a snapshot of Droplet A. Then either:

1. Create Droplet B, choosing the image of droplet A from the Images section.
2. If Droplet B already exists, choose the 'Destroy' then 'Rebuild' option from the horizontal menus. Choose your image of Droplet A from the select box.

I need to do a clone to enable backups on my droplet (webserver running wordpress).. from what I gather, all I would have to do after the clone to get things working again, is change my DNS (hosted at DO) t point the A record to new droplet IP… can someone confirm that?? thanks.

by zlađurić
This article provides a quick way to backup the most common things in a typical web hosting scenario: website files and database data. We will setup a full daily backup of a website folder and a copying of this data to a remote server (this can also work for another VPS). We will also set up a rsync example to just copy the incremental changes. Finally, we'll set up backup of a MySQL database.
When cloning a droplet like that, how does it work with the IP address? Doesn't the new Server B expect to have the same IP address as the current server A?
@graham,

When cloning a droplet which way?

You may want to check out How To Use Duplicity with GPG to Securely Automate Backups on Ubuntu.
by Justin Ellingwood
Duplicity is a simple backup solution that can be used to backup data from a VPS instance to another VPS or a local machine. In this guide, we will demonstrate how to install duplicity on Ubuntu and configure it to perform automated backups.
@graham: Unless you have programs that bind specifically to that IP address (most bind to 127.0.0.1 or 0.0.0.0 which is available on both droplets), it should work fine.
Have another answer? Share your knowledge.

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