Remarkbox
Log in
Topic: https://russell.ballestrini.net/virt-back-a-python-libvirt-backup-utility-for-kvm-xen-virtualbox/
Tobias-rb 15y, 201d ago

Hey Russel,

something seems to be wrong with your script.


virt-back -p /root/backup/ -b vm132 Traceback (most recent call last): File "/usr/local/bin/virt-back", line 242, in if options.backup or options.backupall: backup( domList ) File "/usr/local/bin/virt-back", line 87, in backup tar.add( disklist[0] ) # we could loop and tar each disk in disklist IndexError: list index out of range


Creating the VM with "virt-back -v --create vm132" works like a charme. Also see

root@host ~ # virsh 'list'"

Id Name State

5 vm132 running

root@host ~ # virt-back --info-all --verbose

name: invoking name on vm132 name: name returned vm132 on vm132 info: invoking info on vm132 info: info returned [1, 524288L, 524288L, 1, 11680000000L] on vm132

root

Comments

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
Leave first comment to start a conversation!