Skip to content

Python script that backups VMs from a remote xen hypervisor to a remote (not mounted locally) samba share

License

Notifications You must be signed in to change notification settings

STDigitalDatacenter/xen-backup-VMs

 
 

Repository files navigation

Inline docs HitCount

Version Date Author Description
0.4 27/03/2020 @Jean-Baptiste DELON First Release

Description

Python script that backups VMs from a remote xen hypervisor to a remote (not mounted locally) samba share.

If enable, a report with all the logs can be send at the end of the script execution.

Script philosophy is :

  • local script but remote hypervisor and remote 2 samba share
  • no bash command calls
  • use the XenAPI python library and existing http_action function (uses the "requests" python library) to download / upload a VM backup
  • no use of ssh
  • no mount of samba share : use the python samba client library instead.

VM Restoration is not implemented yet (despite the existance of the ACTION_MODE setting)... You are welcome to implement it by following the script philosophy.

Thanks

Initially developped by Linagora, this script has been released on GitHub under the GNU General Public License version 3.

Linagora

Documentation

Documentation Page

Contact

If you have questions, troobleshoutings or improvement proposals which ONLY DIRECTLY CONCERN this script, please contact me :

27-03-2020 | Jean-Baptiste DELON Issues

Copyleft 2020

About

Python script that backups VMs from a remote xen hypervisor to a remote (not mounted locally) samba share

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%