virtualisierung:proxmox:pve_backup_patch
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| virtualisierung:proxmox:pve_backup_patch [2020/07/29 08:01] – created stone | virtualisierung:proxmox:pve_backup_patch [2020/07/29 08:56] (current) – stone | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| \\ | \\ | ||
| - | Installieren des Patches | + | **Installieren des Patches** |
| < | < | ||
| git clone https:// | git clone https:// | ||
| cd pve-patches | cd pve-patches | ||
| - | bash pve-6.0-11-diff-backup-addon test | + | bash pve-6.2-4-diff-backup-addon test |
| - | bash pve-6.0-11-diff-backup-addon apply | + | bash pve-6.2-4-diff-backup-addon apply |
| + | Proxmox VE 6.2-4 - differential backup support, v3 | ||
| + | Kamil Trzcinski, http:// | ||
| + | |||
| + | checking file usr/ | ||
| + | checking file usr/ | ||
| + | Hunk #1 succeeded at 5493 (offset -128 lines). | ||
| + | Hunk #2 succeeded at 6139 (offset -126 lines). | ||
| + | Hunk #3 succeeded at 6349 (offset -126 lines). | ||
| + | checking file usr/ | ||
| + | checking file usr/ | ||
| + | checking file usr/ | ||
| + | checking file usr/ | ||
| + | checking file usr/ | ||
| + | Hunk #1 succeeded at 333 (offset 16 lines). | ||
| + | Hunk #2 succeeded at 435 (offset 23 lines). | ||
| + | checking file usr/ | ||
| + | Hunk #1 succeeded at 241 (offset -2 lines). | ||
| + | Hunk #2 succeeded at 249 (offset -2 lines). | ||
| + | Hunk #3 succeeded at 473 (offset 1 line). | ||
| + | Hunk #4 succeeded at 548 (offset 1 line). | ||
| + | checking file usr/ | ||
| + | $ patch_apply / | ||
| + | patching file usr/ | ||
| + | patching file usr/ | ||
| + | Hunk #1 succeeded at 5493 (offset -128 lines). | ||
| + | Hunk #2 succeeded at 6139 (offset -126 lines). | ||
| + | Hunk #3 succeeded at 6349 (offset -126 lines). | ||
| + | patching file usr/ | ||
| + | patching file usr/ | ||
| + | patching file usr/ | ||
| + | patching file usr/ | ||
| + | patching file usr/ | ||
| + | Hunk #1 succeeded at 333 (offset 16 lines). | ||
| + | Hunk #2 succeeded at 435 (offset 23 lines). | ||
| + | patching file usr/ | ||
| + | Hunk #1 succeeded at 241 (offset -2 lines). | ||
| + | Hunk #2 succeeded at 249 (offset -2 lines). | ||
| + | Hunk #3 succeeded at 473 (offset 1 line). | ||
| + | Hunk #4 succeeded at 548 (offset 1 line). | ||
| + | patching file usr/ | ||
| + | APPLIED | ||
| + | |||
| + | $ service pveproxy restart | ||
| + | $ service pvedaemon restart | ||
| </ | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ===== Deinstallieren vom Patch ===== | ||
| + | Zum deinstallieren muss auch immer die Version vom Patch verwendet werde die zum installieren verwendet wurde | ||
| + | \\ | ||
| + | < | ||
| + | cd / | ||
| + | bash pve-6.2-4-diff-backup-addon revert | ||
| + | dpkg -r pve-xdelta3 | ||
| + | </ | ||
| + | \\ | ||
| + | |||
| + | ===== PVE Update ===== | ||
| + | Macht man ein Update von PVE, MUSS IMMER(!) der Patch bevor man ein Update macht entfernt werden! \\ | ||
| + | Hat man dies einmal nicht gemacht und damit ein unsauberes System kann man dieses so wieder Instandsetzen. | ||
| + | < | ||
| + | apt-get --reinstall install pve-manager qemu-server libpve-storage-perl | ||
| + | dpkg -r pve-xdelta3 | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | Danach hat man wieder ein sauberes System und man kann den Patch installieren wenn man möchte. | ||
| + | \\ | ||
| + | |||
| + | ===== Es gibt keinen Patch zu meiner Version ===== | ||
| + | Was kann man machen wenn nach einem Update die PVE Version zu hoch ist und es keinen Patch dafür gibt. \\ | ||
| + | Hier ein Beispiel dazu. \\ | ||
| + | PVE Version 6.2-10 \\ | ||
| + | PVE Backup Patch Version: 6.2-4 \\ | ||
| + | \\ | ||
| + | |||
| + | Wenn wir jetzt den Patch installieren möchten bekommt man einen Fehler. Daher muss die PVE Version auf eine ältere geändert werden. \\ | ||
| + | |||
| + | **Check welche PVE Version man aktuell hat** | ||
| + | < | ||
| + | root@pve01: | ||
| + | ii libpve-storage-perl | ||
| + | ii pve-manager | ||
| + | ii qemu-server | ||
| + | </ | ||
| + | |||
| + | Wichtig sind hier diese drei Pakete.\\ | ||
| + | PVE-Manger und Qemu-Server müssen in der richtigen Version installiert sind. Libpve-storage-perl spielt hier auch eine Rolle jedoch muss die Version nicht genau mit der Version vom Backup Patch übereinstimmen. Oft muss man mit der Version von Libpve-storage-perl ein paar Sprünge weiter zurück. \\ | ||
| + | \\ | ||
| + | |||
| + | Damit wir den Patch jetzt installieren können müssen wir ein Downgrade dieser drei Pakete durchführen. | ||
| + | \\ | ||
| + | |||
| + | ==== Downgrade von PVE ==== | ||
| + | < | ||
| + | apt-get install pve-manager=6.2-4 qemu-server=6.2-4 libpve-storage-perl=6.1-8 | ||
| + | </ | ||
| + | |||
| + | Danach kann der Patch erfolgreich installiert werden. | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
virtualisierung/proxmox/pve_backup_patch.1596009672.txt.gz · Last modified: by stone
