Downloading snapshots into local machines

September 7, 2015 31.3k views

The text below was posted on March 18, 2013. I am pretty sure Digital Ocean has created a way to download snapshot in a local machine at this point.
I would like to receive a step by step tutorial do do this procedure. Thank you very much.

"2. Snapshot and Backup Downloads
Customers have already been requesting that we provide a way for them to directly download their snapshots and backups so they can store them locally and allow for data portability. We will be implementing this as soon as possible. While this may seem like a trivial item to add, the complexity in rolling out this feature is to ensure security in the rollout because data will need to be made available from the backend NAS systems (which are completely off of the public network currently)."

11 Answers

If your intent is to backup a remote computer's HDD A via SSH to a single file that's on your local computer's HDD, you could do one of the following...

run from local computer

$ ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz
  • Thx for quoting - did not know this. Very useful

  • Has anyone tried this? Does it work?

  • I would do it from a different instance on D.O., not directly to your home/biz then you can just either use sftp or even put it on a password protected webpage and download it.

  • It does worked. Well... Not downloading the snapshot created on DigitalOcean, but the whole storage drive itself.
    Anyway.... Is there any way to restore his downloaded "storage snapshot" back into a newly created droplet?

Will this policy change with the new snapshot policy of having to pay to store them?

Same here... moving on because of the shift in policy on snapshots and the inability to download them to our own storage. Also feeling like the new block storage pricing is a missed opportunity. To price it so highly means it can't fulfill our needs, which is affordable local-to-the-droplet storage.

Hello and welcome to Digitalocean,

"Unfortunately you are unable to store a snapshot or backup outside of our environment."

Sorry to say it :-(

I was wondering the same thing. It would be nice to save locally, keep them on a external hdd or something, and then upload straight back up in case you ever need to. I usually make a lot of snapshots for the case you might ever need a full-backup and that does not happen often, so storing on local storage is very cheap that way.

Well, apparently I have to manually move all the most necessary, restoring many of my snapshots. Then, snapshots, and the droplet will be removed, and I'll have to find another hosting.

Has anybody done a personal Snapshot as detailed above and then done a successful restore?

Isn't that the test of a backup?

here is the command which worked for me:

ssh root@ipaddress "dd if=/dev/vda1 | gzip -1 -" | dd of=image.gz

Anyone downloaded a droplet and installed on his local server, kinda a clone environment for testing?

This makes no sense...if someone hack the account and destroy all your backups there is no way to recover it. I don't know why they don't have this simple option to download the backups just for extra security.

Have another answer? Share your knowledge.