X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=recipes%2Fexport2tar.html;fp=recipes%2Fexport2tar.html;h=8dc07cac8fe69343d4dd0df4f052c98d61121224;hp=0000000000000000000000000000000000000000;hb=a057a058e72d0949db4140e9a03b7a0e5b3c823c;hpb=396bc943ed9cb7c6df091b18bc2eebe93ccc27d1 diff --git a/recipes/export2tar.html b/recipes/export2tar.html new file mode 100644 index 0000000..8dc07ca --- /dev/null +++ b/recipes/export2tar.html @@ -0,0 +1,16 @@ +

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 +from a standard Fedora or RHEL virtual machine you would do: +

+ +
+export2tar 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. +