cloudstack/debian
Rohit Yadav 85765c3125
backup: simple NAS backup plugin for KVM (#9451)
This is a simple NAS backup plugin for KVM which may be later expanded for other hypervisors. This backup plugin aims to use shared NAS storage on KVM hosts such as NFS (or CephFS and others in future), which is used to backup fully cloned VMs for backup & restore operations. This may NOT be as efficient and performant as some of the other B&R providers, but maybe useful for some KVM environments who are okay to only have full-instance backups and limited functionality.

Design & Implementation follows the `networker` B&R plugin, which is simply:

- Implement B&R plugin interfaces
- Use cmd-answer pattern to execute backup and restore operations on KVM host when VM is running (or needs to be restored) - instead of a B&R API client, relies on answers from KVM agent which executes the operations
- Backups are full VM domain snapshots, copied to a VM-specific folders on a NAS target (NFS) along with a domain XML
- Backup uses libvirt feature: https://libvirt.org/kbase/live_full_disk_backup.html orchestrated via virsh/bash script (nasbackup.sh) as the libvirt-java lacks the bindings
- Supported instance volume storage for restore operations: NFS & local storage

Refer the doc PR for feature limitations and usage details:
https://github.com/apache/cloudstack-documentation/pull/429

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2024-09-05 22:19:13 +05:30
..
source Fixes problem with having to change the "-SNAPSHOT" string in debian/rules for releases, deb packaging was broken in master due to this in a merge with release version. Fixes some warnings generated by dpkg-buildpackage regarding upstream tarball an source versioning Reduces source tarball from 669MB to 183MB (it was including .git), now build is faster and takes up less space 2015-05-25 16:45:50 +02:00
changelog tools,changelog: fix nextversion 4.20.0.0-SNAPSHOT (#8607) 2024-02-05 11:22:19 +05:30
cloudstack-agent.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-agent.install packaging/deb: Include cloudstack-guest-tool into cloudstack-agent DEB package (#4427) 2020-10-27 20:15:31 +01:00
cloudstack-agent.postinst packaging: display First Install and Onboarding Message (#5851) 2022-02-08 16:11:03 +01:00
cloudstack-cli.install pre-commit: apply `end-of-file-fixer` to all files (#7551) 2023-08-02 13:47:21 +02:00
cloudstack-common.install SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
cloudstack-common.postinst pre-commit: apply `end-of-file-fixer` to all files (#7551) 2023-08-02 13:47:21 +02:00
cloudstack-docs.install pre-commit: apply `end-of-file-fixer` to all files (#7551) 2023-08-02 13:47:21 +02:00
cloudstack-integration-tests.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-management.install packaging: bundle cmk in cloudstack-management package (#8574) 2024-02-09 11:51:41 +01:00
cloudstack-management.postinst Normalize loggers and upgrade log4j 1.2 to log4j 2.19 (#7131) 2024-02-08 09:55:41 -03:00
cloudstack-management.preinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-marvin.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-marvin.postinst python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
cloudstack-ui.install packaging: build and bundle UI using npm in deb and rpm packages (#4605) 2021-01-28 14:29:31 +05:30
cloudstack-usage.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-usage.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-usage.postinst Create user 'cloud' in cloudstack-usage postinstall (#7559) 2023-05-26 12:44:02 +02:00
cloudstack-usage.preinst debian: remove old usage jars during upgrade (#2552) 2018-04-09 17:21:06 +05:30
compat packging: Raise compat mode to 9 (#2307) 2017-11-06 18:18:53 +05:30
control backup: simple NAS backup plugin for KVM (#9451) 2024-09-05 22:19:13 +05:30
copyright fixing license statement in debian 2012-07-20 14:09:16 -04:00
dirs Source code committed 2010-08-11 09:13:29 -07:00
rules packaging: bundle latest cmk x86 build with deb and rpm packages (#9450) 2024-07-30 10:01:39 +05:30