Using Snapshots with Rstudio


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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.