Using Snapshots with Rstudio

April 23, 2015 2k views


I’m new to using DigitalOcean and linux servers in general and could use some help. I’m trying to use DigitalOcean to run Rstudio on a server. I was able to get this up and running with little issue. However, I’d like to be able to destroy my droplets when I’m not using them so that I won’t be billed. I tried taking a snapshot, destroying the droplet, and creating a new droplet with the old snapshot.

However, when I did. the packages I had installed were gone and files I had uploaded were gone too. Is there any way that I can back all of this up in a snapshot or am I out of luck? Thanks a lot for the help.

1 Answer

Make sure that you’ve closed the R session (by signing out of the Rstudio server instance in your web browser) before powering off the droplet and taking the snapshot.

Have another answer? Share your knowledge.