mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
15 lines
413 B
HTML
15 lines
413 B
HTML
<p>
|
|
This script lets you export any directory you like from a virtual
|
|
machine as a tarball. For example, to export <code>/home</code>
|
|
from a standard Fedora or RHEL virtual machine you would do:
|
|
</p>
|
|
|
|
<pre>
|
|
export2tar.sh guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
|
|
</pre>
|
|
|
|
<p>
|
|
<code>/dev/VolGroup00/LogVol00</code> is the partition or LV <i>inside</i>
|
|
the VM which contains the directory you want.
|
|
</p>
|