Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
home_server:home_server_setup:kvm [2022-10-01 Sat wk39 22:24] – [Mount a qcow2 image directly] baumkp | home_server:home_server_setup:kvm [2023-07-29 Sat wk30 15:08] – [KVM Offline Backup] baumkp | ||
---|---|---|---|
Line 6: | Line 6: | ||
*[[https:// | *[[https:// | ||
*[[https:// | *[[https:// | ||
- | Basically to install the KVM Hypervisor: '' | + | *[[https:// |
+ | Basically to install the KVM Hypervisor: '' | ||
+ | |||
+ | *'' | ||
+ | *'' | ||
+ | *'' | ||
Use the built-in clone facility: '' | Use the built-in clone facility: '' | ||
Line 66: | Line 71: | ||
- Create a snapshot of the VM and direct all changes to the snapshot allowing safe backup of main VM file | - Create a snapshot of the VM and direct all changes to the snapshot allowing safe backup of main VM file | ||
- Active back commit the snapshot and verify back commit worked | - Active back commit the snapshot and verify back commit worked | ||
+ | |||
+ | ====KVM Offline Backup==== | ||
+ | <fc # | ||
+ | -'' | ||
+ | -'' | ||
+ | -'' | ||
+ | -'' | ||
+ | -'' | ||
+ | -'' | ||
+ | |||
+ | |||
+ | References: | ||
+ | *[[https:// | ||
====kvm back-up links==== | ====kvm back-up links==== | ||
*[[https:// | *[[https:// | ||
Line 105: | Line 123: | ||
How to change the amount of disk space assigned to a KVM *[[https:// | How to change the amount of disk space assigned to a KVM *[[https:// | ||
*First turn off the virtual machine to be checked | *First turn off the virtual machine to be checked | ||
- | *Next find the file location of the firtual | + | *Next find the file location of the virtual |
*Next query the file: '' | *Next query the file: '' | ||
*Next increase the allowed size of the vm disk: '' | *Next increase the allowed size of the vm disk: '' | ||
Line 145: | Line 163: | ||
To check if already installed or not: '' | To check if already installed or not: '' | ||
To install '' | To install '' | ||
+ | |||
The nbd (network block device) kernel module needs to be loaded to mount qcow2 images. | The nbd (network block device) kernel module needs to be loaded to mount qcow2 images. | ||
- | *'' | + | *'' |
*Check VMs '' | *Check VMs '' | ||
*If the VM to be mounted is active shutdown with '' | *If the VM to be mounted is active shutdown with '' | ||
*Use '' | *Use '' | ||
*Use '' | *Use '' | ||
- | *Use '' | + | *Use '' |
+ | *'' | ||
*Use '' | *Use '' | ||
*Use '' | *Use '' | ||
Line 169: | Line 189: | ||
*[[https:// | *[[https:// | ||
*[[http:// | *[[http:// | ||
+ | *[[https:// | ||
=====KVM Guest Corrupted - Recovery Options and Related===== | =====KVM Guest Corrupted - Recovery Options and Related===== | ||