Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few questions #2

Open
x09 opened this issue Jul 31, 2024 · 1 comment
Open

Few questions #2

x09 opened this issue Jul 31, 2024 · 1 comment
Labels

Comments

@x09
Copy link

x09 commented Jul 31, 2024

Hi,

I have two questions about kvmBackup

  1. Backing up only VM that are is active? Is this a requirement? VM that are is inactive are not possible?
  2. If VM have a snapshots then backup is not possible too?
@bunop
Copy link
Contributor

bunop commented Jul 31, 2024

Hi @x09 ,

  1. I wrote this script years ago, but for what I remember it should work with an inactive instance: the point is if your VM is turned off, you can copy the image without any problem. This software was written to make a copy of the disk of a running machine, creating a snapshot to solve issues that could arise when modifying the VM disk during the back-up process (see our wiki for a more complete description)
  2. Regarding having a snapshot during the copy, I think it will break if a snapshot is already present during backup. Consider that when you have a snapshot all the changes to the disk are directed to the snapshot, so you require to back-up the VM disk and all the snapshots to have a full back-up. Ideally, you should modify this code to track the VM disk and the user defined snapshots and eventually fail if a snapshot of a prevision run is found (has an error occurred?)

If you have the possibility, I suggest to take a look at proxmox: it lets you to create a cluster of Host machines, with the possibility to migrate VM between host instances. You can have a light virtualization with LXC and the backups (and snapshots) are well supported.

Hope it helps

@bunop bunop added the question label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants