Question

Can I transfer a snapshot to a lower spec droplet?

Posted June 18, 2017 4k views
UbuntuScaling

Is it possible to spin up a new droplet from a snapshot where the new droplet is lower spec than the droplet that generated the snapshot (assuming that file sizes are within the storage limits of the new droplet)

1 comment
  • It is advisable to first create a droplet with a minimum size i.e. 512MB and then scale as required. However for any reason if a user need to scale-down, you will either have to physically migrate from one server to another or restore from backup or “maybe” spin a new droplet with additional block storage with a total minimum of the hard-disk capacity of your present (bigger) droplet.

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.

×
4 answers

@alexanderc2f4b5b058f8ab2c8

As long as the disk size of the snapshot is equal to or less than the size of the Droplet you’re trying to restore it to, you can definitely restore it.

If, for example, your snapshot is 40GB, you’d have to choose a Droplet with at least 40GB of storage available. So you wouldn’t be able to restore to a 20GB Droplet, but could restore to a 60GB, 80GB, etc.

CPU and RAM doesn’t matter when restoring as those are not hard limits and they are more flexible.

  • I just create a snapshot from 50GB droplet with total size of just 4 GB, still I can’t restore it to 25GB droplet. What’s wrong ?

  • It seems DO has changed restoring from snapshot. You are no longer able to use droplets with smaller disks. Even if your snapshot doesn’t have that much data. So only way to use droplet with smaller disk is to recreate the droplet from scratch…

Same issue, what was your solution?

If anyone comes across this question and needs a quick / intuitive solution: You can attach a network volume to the droplet before you create it and essentially use it as a home directory and/or move your postgresql / mysql data directories to the network volume. Then you can create a separate droplet on a small powered server with the configuration you want. Then, when you deploy the server snapshot, you can choose any size you want, are not restricted by the original droplet size. You can then attach a snapshot of the network storage volume that contains the data.

This works for me. I have elastic CPU, storage and RAM requirements.

Submit an Answer