virt-v2v 2024: Replace pull quote images
[libguestfs-talks.git] / 2021-pipelines / 2600-copying.html
blob2809ce17d2bd1bcf742f5e7abf22e053c760c55a
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>
5 <h1>Making a full local copy</h1>
7 <pre>
8 ┌───────────────┐ssh ┌────────────┐ ┌───────────┐
9 │ fedora-33.img │───▶│ qcow2 file │───▶ qemu-img convert ────▶│ local.img │
10 └───────────────┘ └────────────┘ └───────────┘
11 remote server local machine
12 </pre>
14 <br/><br/>
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>