virt-v2v-copy-to-local(1)

NAME

   virt-v2v-copy-to-local - Copy a remote guest to the local machine

SYNOPSIS

    virt-v2v-copy-to-local -ic LIBVIRT_URI GUEST

    virt-v2v-copy-to-local -ic xen+ssh://[email protected] xen_guest

    virt-v2v-copy-to-local -ic esx://[email protected] vmware_guest

DESCRIPTION

   "virt-v2v-copy-to-local" copies a guest from a remote hypervisor to the
   local machine, in preparation for conversion by virt-v2v(1).  Note this
   tool alone does not do the virt-v2v conversion.

   When to use this tool
   This tool is not usually necessary, but there are a few special cases
   (see list below) where you might need it.

   If your case does not fit one of these special cases, then ignore this
   tool and read virt-v2v(1) instead.  The virt-v2v-copy-to-local process
   is slower than using virt-v2v directly, because it has to copy unused
   parts of the guest disk.

   *   You have a Xen guest using host block devices.  Virt-v2v cannot
       convert such guests directly.

       See "XEN OR SSH CONVERSIONS FROM BLOCK DEVICES" in virt-v2v(1).

   *   You have VMware ESXi hypervisors, and are not using VMware vCenter
       to manage them.  Virt-v2v cannot directly access ESXi hypervisor,
       so you either have to export the guest as an OVA (eg. using
       VMware's "ovftool"); or you can use this tool to copy the guest to
       a local file on the conversion server, from where virt-v2v will be
       able to access it.

       See "INPUT FROM VMWARE ESXi HYPERVISOR" in virt-v2v(1).

   How this tool works
   This tool uses libvirt to get the libvirt XML (metadata) of the remote
   guest, essentially equivalent to running "virsh dumpxml guest".

   It then uses the XML to locate the remote guest disks, which are copied
   over using a hypervisor-specific method.  It uses ssh for remote Xen
   hypervisors, and HTTPS (curl) for remote ESXi hypervisors.

   It then modifies the libvirt XML so that it points at the local copies
   of the guest disks.

   The libvirt XML is output to a file called guest.xml (where guest is
   the name of the guest).  The disk(s) are output to file(s) called
   guest-disk1, guest-disk2 and so on.

   After copying the guest locally, you can convert it using:

    virt-v2v -i libvirtxml guest.xml [-o options ...]

   Virt-v2v finds the local copies of the disks by looking in the XML.

EXAMPLES

   Copy and convert from Xen hypervisor that uses host block devices
   For full instructions, see "XEN OR SSH CONVERSIONS FROM BLOCK DEVICES"
   in virt-v2v(1).

    virt-v2v-copy-to-local -ic xen+ssh://[email protected] xen_guest
    virt-v2v -i libvirtxml xen_guest.xml -o local -os /var/tmp
    rm xen_guest.xml xen_guest-disk*

   Copy and convert from ESXi hypervisor
   For full instructions, see "INPUT FROM VMWARE ESXi HYPERVISOR" in
   virt-v2v(1).

    virt-v2v-copy-to-local -ic esx://[email protected]?no_verify=1 vmware_guest
    virt-v2v -i libvirtxml vmware_guest.xml -o local -os /var/tmp
    rm vmware_guest.xml vmware_guest-disk*

OPTIONS

   --help
       Display help.

   -ic libvirtURI
       Specify a libvirt connection URI

   --password-file file
       Instead of asking for password(s) interactively, pass the password
       through a file.  Note the file should contain the whole password,
       without any trailing newline, and for security the file should have
       mode 0600 so that others cannot read it.

       Currently this option does not have any effect on xen+ssh
       transfers, but that is a bug.

   -q
   --quiet
       This disables progress bars and other unnecessary output.

   -v
   --verbose
       Enable verbose messages for debugging.

   -V
   --version
       Display version number and exit.

SEE ALSO

   virt-v2v(1), virsh(1), http://libguestfs.org/,
   https://libvirt.org/uri.html, https://libvirt.org/remote.html,
   https://libvirt.org/drvesx.html.

AUTHORS

   Richard W.M. Jones http://people.redhat.com/~rjones/

COPYRIGHT

   Copyright (C) 2009-2016 Red Hat Inc.

LICENSE

   This program is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by the
   Free Software Foundation; either version 2 of the License, or (at your
   option) any later version.

   This program is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   General Public License for more details.

   You should have received a copy of the GNU General Public License along
   with this program; if not, write to the Free Software Foundation, Inc.,
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

BUGS

   To get a list of bugs against libguestfs, use this link:
   https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools

   To report a new bug against libguestfs, use this link:
   https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools

   When reporting a bug, please supply:

   *   The version of libguestfs.

   *   Where you got libguestfs (eg. which Linux distro, compiled from
       source, etc)

   *   Describe the bug accurately and give a way to reproduce it.

   *   Run libguestfs-test-tool(1) and paste the complete, unedited output
       into the bug report.



Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.


Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.


Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.