Giter VIP home page Giter VIP logo

xenbackup's Introduction

xenbackup

Python Backupscript for VMs on a Citrix XenServer (or Pool)

The script loops over all running ! VMs on your Server or Pool creates an Snapshop und Download the VM to your backup location. Zero-Downtime Backup !

You need the XenAPI.py !!!! Download is available at this locations: https://pypi.python.org/pypi/XenAPI https://github.com/xapi-project/xen-api/blob/master/scripts/examples/python/XenAPI.py

You have to configurate the script with the following settings:

server='192.168.0.2' # The Pool Master !

user='root'

password='XXXXXXXXXXXX'

path='/path/to/your/backups' # Path to Backup XVA files

bkCount=2 # Number of Backups to store

If you change the pool master the script locates the new master. If the master is completly offline the script will not work !

You can use Nagios to check the backup. Set my $file = "/path/to/your/backups/backup.log"; to the correct path to the logfile of the xenbackup script.

xenbackup's People

Contributors

avarrish avatar

Watchers

 avatar

Forkers

koumdros

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.