1virt-copy-out(1)            Virtualization Support            virt-copy-out(1)
2
3
4

NAME

6       virt-copy-out - Copy files and directories out of a virtual machine
7       disk image.
8

SYNOPSIS

10        virt-copy-out -a disk.img /file|dir [/file|dir ...] localdir
11
12        virt-copy-out -d domain /file|dir [/file|dir ...] localdir
13

DESCRIPTION

15       "virt-copy-out" copies files and directories out of a virtual machine
16       disk image or named libvirt domain.
17
18       You can give one or more filenames and directories on the command line.
19       Directories are copied out recursively.
20

EXAMPLES

22       Download the home directories from a virtual machine:
23
24        mkdir homes
25        virt-copy-out -d MyGuest /home homes
26

JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH

28       This command is just a simple shell script wrapper around the
29       guestfish(1) "copy-out" command.  For anything more complex than a
30       trivial copy, you are probably better off using guestfish directly.
31

OPTIONS

33       Since the shell script just passes options straight to guestfish, read
34       guestfish(1) to see the full list of options.
35

SEE ALSO

37       guestfish(1), virt-cat(1), virt-copy-in(1), virt-edit(1),
38       virt-tar-in(1), virt-tar-out(1), http://libguestfs.org/.
39

AUTHORS

41       Richard W.M. Jones ("rjones at redhat dot com")
42
44       Copyright (C) 2011-2012 Red Hat Inc.
45

LICENSE

47       This program is free software; you can redistribute it and/or modify it
48       under the terms of the GNU General Public License as published by the
49       Free Software Foundation; either version 2 of the License, or (at your
50       option) any later version.
51
52       This program is distributed in the hope that it will be useful, but
53       WITHOUT ANY WARRANTY; without even the implied warranty of
54       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
55       General Public License for more details.
56
57       You should have received a copy of the GNU General Public License along
58       with this program; if not, write to the Free Software Foundation, Inc.,
59       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
60

BUGS

62       To get a list of bugs against libguestfs, use this link:
63       https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
64
65       To report a new bug against libguestfs, use this link:
66       https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
67
68       When reporting a bug, please supply:
69
70       •   The version of libguestfs.
71
72       •   Where you got libguestfs (eg. which Linux distro, compiled from
73           source, etc)
74
75       •   Describe the bug accurately and give a way to reproduce it.
76
77       •   Run libguestfs-test-tool(1) and paste the complete, unedited output
78           into the bug report.
79
80
81
82libguestfs-1.46.0                 2021-09-23                  virt-copy-out(1)
Impressum