X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=recipes%2Fexport2tar.html;h=9d9f2d475ae2912b32b72342666bc3c4f8aba86a;hp=8dc07cac8fe69343d4dd0df4f052c98d61121224;hb=88ff38dab607f7218756ce87e014c0e699e162f8;hpb=a057a058e72d0949db4140e9a03b7a0e5b3c823c diff --git a/recipes/export2tar.html b/recipes/export2tar.html index 8dc07ca..9d9f2d4 100644 --- a/recipes/export2tar.html +++ b/recipes/export2tar.html @@ -1,5 +1,3 @@ -

Export the /home directory from a virtual machine into a tarball

-

This script lets you export any directory you like from a virtual machine as a tarball. For example, to export /home @@ -7,10 +5,16 @@ from a standard Fedora or RHEL virtual machine you would do:

-export2tar guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
+export2tar.sh guest.img /dev/VolGroup00/LogVol00 /home home.tar.gz
 

/dev/VolGroup00/LogVol00 is the partition or LV inside the VM which contains the directory you want.

+ +

+See also virt-tar +and Richard +Jones's complete list of ways to upload and download files. +