| 182 | == Snapshot maken == |
| 183 | |
| 184 | In virsh kunt u een snapshot maken van de huidige situatie. Mocht er iets mis gaan bij het installeren van drivers of iets degelijks, dan kunt u altijd terug naar deze snapshot. |
| 185 | |
| 186 | {{{ |
| 187 | [Syn-3] root@server /home/system/kvm# virsh |
| 188 | Welcome to virsh, the virtualization interactive terminal. |
| 189 | |
| 190 | Type: 'help' for help with commands |
| 191 | 'quit' to quit |
| 192 | |
| 193 | virsh # help snapshot-create-as |
| 194 | NAME |
| 195 | snapshot-create-as - Create a snapshot from a set of args |
| 196 | |
| 197 | SYNOPSIS |
| 198 | snapshot-create-as <domain> [<name>] [<description>] [--print-xml] [--no-metadata] [--halt] [--disk-only] [--reuse-external] [--quiesce] [[--diskspec] <string>]... |
| 199 | |
| 200 | DESCRIPTION |
| 201 | Create a snapshot (disk and RAM) from arguments |
| 202 | |
| 203 | OPTIONS |
| 204 | [--domain] <string> domain name, id or uuid |
| 205 | [--name] <string> name of snapshot |
| 206 | [--description] <string> description of snapshot |
| 207 | --print-xml print XML document rather than create |
| 208 | --no-metadata take snapshot but create no metadata |
| 209 | --halt halt domain after snapshot is created |
| 210 | --disk-only capture disk state but not vm state |
| 211 | --reuse-external reuse any existing external files |
| 212 | --quiesce quiesce guest's file systems |
| 213 | [--diskspec] <string> disk attributes: disk[,snapshot=type][,driver=type][,file=name] |
| 214 | |
| 215 | |
| 216 | virsh # snapshot-create-as windows1 |
| 217 | }}} |
| 218 | |
| 219 | |