Fix v2v input side diagram.
[libguestfs-talks.git] / 2021-pipelines / 2600-copying.html
1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
4
5 <h1>Making a full local copy</h1>
6
7 <pre>
8 ┌───────────────┐ssh ┌────────────┐                           ┌───────────┐
9 │ fedora-33.img │───▶│ qcow2 file │───▶ qemu-img convert ────▶│ local.img │
10 └───────────────┘    └────────────┘                           └───────────┘
11  remote server                           local machine
12 </pre>
13
14 <br/><br/>
15
16 <pre>
17 qemu-img create -f qcow2 \
18          -b <b>ssh://remote/path/to/fedora-33.img</b> snapshot.qcow2
19 qemu-img convert snapshot.qcow2 local.img -p
20 </pre>