Can a droplet's disk size be increased without reinstalling the entire disk?

We have a database on our current server and it is about to fill up with new users. Is there a way to increase our disk size for a droplet without losing all the data currently on the server?


Show comments

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.

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.

  1. Create a new droplet with the required size
  2. Make it a slave and let it catch up
  3. Shut down site to make sure no new entries come in
  4. Change the new one to master and old one to slave
  5. Power up the site again.
  6. Remove slave if you want

To swap master theoretically is instant so it just depends on how fast you are, should take only a minute or so with testing. The shut down is only to make sure a user isn’t registering at the exact same time as you swap, you don’t have to if its more important to not be down for that time.