|
5.
|
|
|
Back up or move a box
|
|
|
(itstool) path: page/title
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:20
|
|
6.
|
|
|
Two components are required to back up or move a box: the image file, and the configuration of the box saved as an XML file. Saving the configuration requires the <cmd>virsh</cmd> command from the <app>libvirt</app> or <app>libvirt-client</app> package.
|
|
|
(itstool) path: page/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:22
|
|
7.
|
|
|
In a terminal window, type
|
|
|
(itstool) path: item/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:29
|
|
8.
|
|
|
virsh dumpxml Name > Name.xml
|
|
|
(itstool) path: item/code
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:30
|
|
9.
|
|
|
where <cmd>Name</cmd> is the <app>Boxes</app> name, or <em>domain</em>, of your box. To list the domains seen by <app>Boxes</app>, type
|
|
|
(itstool) path: item/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:31
|
|
10.
|
|
|
virsh -c qemu:///session list --all
|
|
|
(itstool) path: item/code
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:33
|
|
11.
|
|
|
Copy the <cmd>.xml</cmd> file you just created to your backup or temporary storage location.
|
|
|
(itstool) path: item/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:36
|
|
12.
|
|
|
Copy the image file to your backup or temporary storage location. It will be a file with the domain name of your box and ending in <cmd>.qcow2</cmd>, located in <file>~/.local/share/gnome-boxes/images/</file>.
|
|
|
(itstool) path: item/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:40
|
|
13.
|
|
|
Restore a box
|
|
|
(itstool) path: section/title
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:48
|
|
14.
|
|
|
The saved box can be installed into <app>Boxes</app> on a new host machine, or on the original machine as part of a disaster recovery scenario.
|
|
|
(itstool) path: section/p
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/backup.page:50
|