Comments (3)
Hi,
I think I found the problem. The function needs three arguments and it only gets two.
virDomainCheckpointPtr virDomainCheckpointCreateXML (virDomainPtr domain,
const char * xmlDesc,
unsigned int flags)
and in libvirthelper.py on line 438 it is called with two arguments:
domObj.checkpointCreateXML(
checkpointConfig, libvirt.VIR_DOMAIN_CHECKPOINT_CREATE_REDEFINE
)
from virtnbdbackup.
check fix in in branch issue_40:
and tell me if it fixes the situation: im not using the redefine functionality at all and it was added on request
by another person, ..
from virtnbdbackup.
Works like a charm! Thx.
I only have to test the --checkpointdir option. For a inc and diff backup it isn't necessary, because with those types you are using the directory of the previous full or inc backup and there is also the right checkpoint directory with all the right checkpoints (so the option is not needed and I didn't define it in my test, because I saw in the code it always tries to redefine if there are no checkpoints). But if migrate a machine and you want to make a full backup you need to redefine the previous checkpoints from the previous backup directory, else you get the error the virtnbdbackup.0 checkpoint can't be defined (or deleted, because it doesn't exist), because the bitmap with the virtnbdbackup.0 reference already exists. So for the full you first have to define the old checkpoints, then you can delete them and make a new one.
from virtnbdbackup.
Related Issues (20)
- Feature/PR proposal: Add SSH client to the Dockerfile HOT 1
- Output folder must not exist (during a remote restore) HOT 2
- domain not found, but shows in virsh list HOT 3
- Incremental backup fails with error "ImportError: cannot import name 'sighandle'" after previous successful full backup HOT 1
- Errors in journalctl HOT 2
- Operation not supported: creating checkpoint for incremental backup is not supported yet HOT 4
- Progress show TB of data during backup of ~61GB disk HOT 5
- After first offline backup the second fail with "does not contain full backup" HOT 4
- restore failed with more than one disk - NDB error HOT 8
- Start virtual machines in paused state if offline to allow full/incremental/differential backup HOT 1
- fs freeze / warning domain is not running doesn't make sense with option --start-domain
- IndexError: list index out of range using virtnbdbackup tool HOT 15
- Backup (SW)TPM Device related files
- Local backup being detected as remote, fails HOT 3
- amount of backup data in human readable size (MB/GB/TB) HOT 3
- Fedora 39 - RHEL9 - ModuleNotFoundError: No module named 'nbd' HOT 9
- Plausibility check for backup (amount of data) HOT 1
- Remote Backup Problem HOT 2
- backup with compression enabled fails: unsupported operand type(s) for +: 'int' and 'dict' HOT 4
- Kubevirt/openshift virtualization: howto
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virtnbdbackup.