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:
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?
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?
Will he has to register for a new SSL certificate by reinstalling Lets Encrypt, or I?
Will his Ubuntu installation have the same users I have created here with the same passwords, password disabled for root and same SSH keys?
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.
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.
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
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now