In addition to snapshots of Droplets, you can also take snapshots of block storage volumes. Volume snapshots save all the contents from the volume, and you can use them to create new volumes. By default, the data on volumes and their snapshots is encrypted at rest.
The same general guidelines apply for creating snapshots of volumes as apply with snapshots of Droplets: if there are applications that are actively writing to the volume, you should power off the Droplet attached to the volume before taking a snapshot in order to ensure data consistency.
Because snapshots of volumes operate at the block storage level, the snapshot size may not match what the filesystem reports from inside your Droplet. For example, filesystems may not immediately mark blocks as unused, which makes the block storage system include them in snapshots even though they don’t contain data.
You can trim or discard unused blocks to make your snapshots smaller and therefore less expensive. Configuring periodic fstrim or mounting your volume with the discard option will help ensure that the block storage system knows which blocks are used and which are not.
To create a snapshot of a volume from the control panel, navigate to the list of volumes by clicking Droplets in the main navigation, then clicking the Volumes tab. Click the More menu for the volume you want to create a Snapshot of, and then select Take Snapshot.
You will be presented with a window allowing you to change the name of the snapshot. Enter the name you’d like to use, or accept the default, and then click Take Snapshot to create a new Snapshot.