Question

Transferring a droplet snapshot to client account to be used for hosting his site?

Hello, I have this droplet with Ubuntu 16.4 installed with Nginx hosting a LIVE website on WordPress. I have a client who will host his WordPress site with a same config. Now I took a snapshot of my droplet and would like to send it to him. Here are my queries as I have never done this snapshot transfer in DO before:

  1. Will he get an exact copy of my server with Ubuntu 16.4, Nginx, WordPress and Lets Encrypt SSL certificate along with the same DNS records my site is running?

  2. Since it’s just one site I am hosting, it won’t be a big hassle for him to update the DNS with his domain info once he gets the snapshot and created the droplet from it, isn’t it?

  3. Will he has to register for a new SSL certificate by reinstalling Lets Encrypt, or I?

  4. Will his Ubuntu installation have the same users I have created here with the same passwords, password disabled for root and same SSH keys?

  5. Will I lose anything at all other than the snapshot I created? Will my droplet or IP or DNS be affected in any way?

Could somebody help me with these scenario please? I hope I explained clearly enough. He will host a different WP site with the same kind of Ubuntu/Nginx setup. DNS and other related stuff will be different as you can see. And again there might one or two dumb questions there.

Thanks in advance.


Submit an answer


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.

Accepted Answer

@mcmurphy

The first thing I would recommend, since this is a live site, is powering down the Droplet before taking the snapshot. This ensures that reading and writing stops while the snapshot generates and ensures data consistency. If you do a live snapshot, and writes are taking place at the time the snapshot is run, you may lose data. The only way to prevent this is powering down, take the snapshot, power on.

As for your questions:

1). It’s a full-state backup – that means OS + Data. They would restore it as an image when deploying a Droplet on their end.

2). The client should only need to point his/her domain to the IP of the Droplet created on their end. It all depends on how things are setup, but that’s generally all that’s required.

3). SSL Certificates are tied to Hosts/IP’s, so they would need to generate a new SSL Certificate for their domain.

4). Snapshots create a full-state backup, so it’ll be restored exactly as it was backed up.

5). You’ll lose the snapshot, but it wouldn’t bring down any of your Droplets or affect other configuration.

Crystal clear. Thank you @jtittle

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel