Giter Site home page Giter Site logo

kvmbackup's Introduction

Kvmbackup

Backup of kvm virtual guests.

status

offline backup is used in small production environment. live backup does not work with current libvirt (blockcopy always failed when with option "--pivot")

https://bugzilla.redhat.com/show_bug.cgi?id=1197592

Usage

usage: kvm_backup.py [-h] [-d DEST] [-k KEEP] [-r RATE] [-t TIMEOUT] [-n] [--remove_tmp_file] [-D DISKS] [--noactive] [--force_noactive] vms [vms ...]

positional arguments: vms virtual machines to backup

optional arguments: -h, --help show this help message and exit

-d DEST, --dest DEST Backup destination folder

-k KEEP, --keep KEEP Number of backups to keep

-r RATE, --rate RATE bandwith limit in MiB/s ex. 20

-t TIMEOUT, --timeout TIMEOUT Number of minutes to wait for blockcommit to finish

-n, --dryrun do not perform backup just inform

--remove_tmp_file remove external snapshot file(s) when blockcommit is finished

-D DISKS, --disks DISKS backup all disks if this list of disks is empty. This option can be used multiple times

--noactive do not perform perform backup if host is on

--force_noactive shutdown vm and do offline backup

kvmbackup's People

Contributors

saitta avatar

Stargazers

samyang avatar Michael Ablassmeier avatar

Watchers

James Cloos avatar  avatar samyang avatar

Forkers

samyang2558

kvmbackup's Issues

python kvm_backup.py test

Traceback (most recent call last):
File "kvm_backup.py", line 466, in
except FileNotFoundError:
NameError: name 'FileNotFoundError' is not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.