SNAPSHOT: what data is not included ?

Posted December 31, 2014 3.2k views

I have noticed that snapshot
doesn’t include the files in /tmp
directory. Is it ok ? And if it is ok
so how do I know what snapshot
includes and what not.


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.

Submit an Answer
2 answers

AFAIK, It should take a snapshot of the disk, memory and settings.

/tmp/ may get cleared when you restart the vm / power on the vm after reverting to a snapshot is my guess.

Eitherway, /tmp/ being lost isnt a great worry.

If you use snapshots to make more VM’s

One thing I have seen before is a problem with MAC addresses after. Make sure your VM hasnt got it hardcoded in the ifconfig for its interface.

Other than that, you should be fine.
In my experience, snapshots are a complete copy of the disk + memory.

  • This is correct. Snapshots are full disk images, everything is retained. Though there are a few bits that will change as part of our deployment process. The SSH host keys will be regenerated as well as the /root/.ssh/authorized_keys file as it will use the SSH keys that you add at droplet creation.