2 This script lets you export any directory you like from a virtual
3 machine as a tarball. For example, to export <code>/home</code>
4 from a standard Fedora or RHEL virtual machine you would do:
8 export2tar.sh guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
12 <code>/dev/VolGroup00/LogVol00</code> is the partition or LV <i>inside</i>
13 the VM which contains the directory you want.
17 See also <a href="http://libguestfs.org/virt-tar.1.html">virt-tar</a>
18 and <a href="https://rwmj.wordpress.com/2010/12/02/tip-uploading-and-downloading/#content">Richard
19 Jones's complete list of ways to upload and download files</a>.