Is it possible to shrink the size of a snapshot?

August 2, 2016 1.6k views
Linux Basics DigitalOcean Ubuntu

Before block storage became available in Frankfurt, I had to increase the droplet size, which I now would like to revert. I have already attached a block storage volume and moved the data there, and my "base" disk is now quite empty.
What I would like to do now is to take a snapshot of the droplet and use it to spin up a smaller droplet with just some more storage.

The problem is, I can't happen to get that to work. Does anybody have some tips or ideas or has done that before?

1 Answer

Hi!

Unfortunately, Droplets spun up from snapshots of older Droplets are limited to the original Droplet's size as the lower limit.

You can, however, migrate your existing Droplet to one of a smaller size and then attach the Block Storage volume to the new Droplet. Check out the following tutorial series on migrating Linux servers:

There are many different considerations you should make when migrating from one system to another. In this guide, we will discuss how to prepare your source and target systems for a migration. This will include getting your two machines to communicate with SSH keys and a deep investigation as to what components need to be transferred.
  • Hi,

    thank you for making that clear. However, I can't really see, why this would be the case, as by now the used disk space is down to 5GB or so.

    I will give the tutorial series a shot and will eventually mark your answer as accepted or ask another question.

    Thank you :-)

Have another answer? Share your knowledge.