Question

can I restore a single directory from a snapshot or backup?

Posted May 4, 2015 2.2k views
Backups

I would like to just restore a single directory from a snapshot (or from a backup). Is that possible? How?

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.

2 answers

Not directly it is not, however you can do the following:

1.) Create a new droplet from your snapshot.
2.) SSH into your new droplet and use scp or rsync to copy over the directory you wish to access.
3.) Destroy the temporary droplet from the control panel.

Because you are only billed for the time a droplet exists doing this with (for example) a 512mb droplet would incur at most $0.01 in charges (since it is billed at $0.0074/hr)

  • cool… I actually just did that since I could not figure out any other way to do it. 34gigs copied at an average of like 30MB/s… very fast.

Submit an Answer