Skip to content

How to manage CRC Cluster configuration snapshots. #2907

Answered by gbraad
eduizquierdo asked this question in Q&A
Discussion options

You must be logged in to vote

We do not handle snapshots as crc by itself is meant as an ephemeral setup.
You could however rely on virsh to make snapshots (on Linux), but that would be handled outside of CRC.


$ virsh snapshot-create-as --domain crc --name "before-deployment"
$ virsh snapshot-list --domain crc

For more see: https://libvirt.org/manpages/virsh.html#snapshot-commands

Note: this can have effect on the way the CRC command works, as when a snapshot exists the VM can not be deleted using the regular crc delete command. This is because the snapshots are in a different location from the actual VM. In that case you would need to delete each snapshot and associated metadata first:

$ sudo virsh snapshot-delete…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gbraad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants