My question is so basic, sorry.
What are the primary differences between
vagrant snapshot push and
vagrant snapshot save?
I have the read vagrant docs but still have little understanding what the primary differences are and/or also which is the best practice option.
vagrant snapshot push takes a snapshot and puts it at the top of the stack of snapshots. Also, you don’t need to name the snapshot. If you want to get the latest snapshot, you can then do a
vagrant snapshot pop.
vagrant snapshot save requires you to give the snapshot a name. To restore the snapshot you can’t use the
snapshot pop command, instead you use
vagrant snapshot restore <name>.
Hope that clears some stuff up!