Resizing droplet drop my data

February 9, 2018 310 views
DigitalOcean Ubuntu
Glader
By:
Glader

I had a droplet on Ubuntu 12.04. Resize it to the same plan, but with more RAM. And resizing process wipe all my data. Be carefull.

3 Answers
jcalazan February 11, 2018
Accepted Answer

Just ran into this exact same issue today with a very old project running on Ubuntu 12.04. Did the RAM+Disk option.

First time this happened, I've done plenty of resizes with Ubuntu 14.04 and 16.04 droplets. Could be an issue specifically with 12.04.

Ended up just rebuilding my server with a newer Ubuntu version. Thank god for Ansible and automated backups!

Will need to be extra careful next time when doing a resize.

@Glader

Droplet storage is ephemeral which when you destroy your droplet and recreate it again (resizing a droplet needs this) all the data will be lost on your primary partition, to preserve data use DigitalOcean Block storage or DigitalOcean spaces

https://www.digitalocean.com/community/tutorials/how-to-work-with-digitalocean-block-storage-using-doctl

Block Storage allows you to manage additional storage for your DigitalOcean Droplets similar to hard drives. In this tutorial, we’ll learn how to use doctl to create, list, attach, detach, and delete block storage volumes from our Droplets.

@Mohsen47

I didn't destroy my droplet. I only powered it off and resized CPU and RAM.

Have another answer? Share your knowledge.