KVM
Snapshots
Source
# List all hosts
$ virsh list --all
# List all snapshots
$ virsh snapshot-list --domain $servername
# Create a snapshot
$ virsh snapshot-create-as \
--domain $servername \
--name $snapshotname \
--description "Some description."
# Info about a snapshot
$ virsh snapshot-info \
--domain $servername \
--snapshotname $snapshotname
# Revert to a snapshot
$ virsh snapshot-revert $servername \
--snapshotname $snapshotname
# Remove a snapshot
$ virsh snapshot-delete \
--domain $servername \
--snapshotname $snapshotname
# List IP
$ sudo virsh domifaddr <domain>
Name MAC address Protocol Address
-------------------------------------------------------------------------------
vnet1 52:54:00:0d:97:da ipv4 192.168.124.37/24