Commit Graph

98 Commits

Author SHA1 Message Date
Pierre Charton 0dfeccbbdc Remove unsed import from test file 2025-01-10 10:34:39 +01:00
PeterBackroll fabd4aeea1
Update plugins/backup/backroll/pom.xml
Co-authored-by: dahn <daan.hoogland@gmail.com>
2024-12-23 11:42:36 +01:00
Pierre Charton 0a4c33ddb3 UT 2024-12-21 00:02:59 +01:00
Pierre Charton 81d9669603 UT + unnessary login remove 2024-12-20 23:44:44 +01:00
Pierre Charton a2dcaf251c Error unused import 2024-12-20 21:33:03 +01:00
Pierre Charton eb46332fe0 UT + refactoring to test 2024-12-20 17:40:06 +01:00
Pierre Charton a4d8809ad6 UT on BackrollBackUpProvider 2024-12-20 12:33:00 +01:00
Pierre Charton 0ea2ce5b52 UT + correction bug 2024-12-20 11:03:33 +01:00
Pierre Charton eb400da8ad Merge branch 'Backroll' into Backroll-dev 2024-12-16 17:02:11 +01:00
Pierre Charton ab25490807 Merge with Backroll + bug backup 2024-12-16 16:55:51 +01:00
Pierre Charton 4b05c8c523 Lint fix 2024-12-16 10:29:09 +01:00
Pierre Charton 31c3be44bc Lint fix 2024-12-16 09:32:28 +01:00
Pierre Charton 78878587e5 Merge branch 'Backroll' into Backroll-dev 2024-12-13 15:58:40 +01:00
Pierre Charton cbe491a37d Unit Test 2024-12-13 15:57:50 +01:00
Pierre Charton abc719197c Merge branch 'Backroll' into Backroll-dev + Test unitaite 2024-12-13 15:57:25 +01:00
Pierre Charton fe180a1bb6 fix license 2024-12-13 10:44:05 +01:00
Pierre Charton 112ea11d61 Fix lint errors and log 2024-12-13 10:35:48 +01:00
Pierre Charton 6ed21e2770 Fix Version Pom 2024-12-13 09:38:45 +01:00
Pierre Charton e05c6f7e6a Merge branch 'Backroll-dev' of https://github.com/DIMSI-IS/cloudstack into Backroll-dev 2024-12-13 09:35:55 +01:00
Pierre Charton 3543554371 Sync Backroll dev before merge backroll 2024-12-13 09:35:37 +01:00
Pierre Charton da787f0a2c Merge branch 'Backroll' of https://github.com/DIMSI-IS/cloudstack into Backroll 2024-12-13 09:34:26 +01:00
Pierre Charton 5729e84dd0 General refactoring 2024-12-13 09:33:48 +01:00
PeterBackroll 61cafe2f9c
Merge branch 'main' into Backroll 2024-12-13 08:37:04 +01:00
João Jandre d9774a8462 Updating pom.xml version numbers for release 4.21.0.0-SNAPSHOT
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-27 11:47:06 -03:00
João Jandre c63c7ee63e Updating pom.xml version numbers for release 4.20.1.0-SNAPSHOT
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-27 11:40:45 -03:00
João Jandre 2fe3fcef7c Updating pom.xml version numbers for release 4.20.0.0
Signed-off-by: João Jandre <48719461+JoaoJandre@users.noreply.github.com>
2024-11-19 08:54:07 -03:00
Pierre Charton bd0bc0f39d Don't delete backup when we dissociate backup offering 2024-11-15 11:13:26 +01:00
Pierre Charton 655080678d Bug on list of vm on the instances 2024-11-07 10:09:57 +01:00
Pierre Charton 82b503e9f6 Fix deserialization + fix connection stability 2024-11-05 21:09:50 +01:00
Pierre Charton 3e90f8e460 WIP 2024-10-28 20:38:20 +01:00
Pierre Charton 6a690b7431 Revert "WIP error handling"
This reverts commit 01c2238e45.
2024-10-21 17:33:48 +02:00
Pierre Charton e9cbe0ed6a Revert "Refactoring error handling"
This reverts commit d37a35b489.
2024-10-21 17:33:21 +02:00
Matthias Dhellin d37a35b489 Refactoring error handling 2024-10-15 22:53:13 +02:00
Matthias Dhellin 01c2238e45 WIP error handling 2024-10-15 18:52:29 +02:00
Matthias Dhellin 8e3c8f7be5 Naming 2024-10-07 18:02:56 +02:00
Matthias Dhellin 561b9b6a1f Refactored some null checks 2024-10-07 17:32:12 +02:00
Matthias Dhellin e4b212f30e Extracted string constants 2024-10-07 17:17:17 +02:00
Matthias Dhellin 63bdc0ffa2 Factorized duplicated code 2024-10-07 16:57:27 +02:00
Matthias Dhellin 50a993c486 Factorized duplicated code 2024-10-07 12:25:42 +02:00
Matthias Dhellin 2d580ff462 Checked license 2024-10-01 23:49:37 +02:00
Matthias Dhellin 9c83c2bf1b Reorganized imports 2024-10-01 19:38:31 +02:00
Matthias Dhellin d21cd1273e Reorganized imports 2024-10-01 19:28:53 +02:00
Pierre Charton bf78e4ccf2 fix: spelling 2024-10-01 19:01:09 +02:00
Pierre Charton 56ab08f85a Fix pom and restoreBackedUpVolume 2024-09-11 18:01:05 +02:00
Pierre Charton 7012adf3f4 Fix styling and logging 2024-09-10 18:26:09 +02:00
Pierre Charton 813929a9de Update for restoreBackedUpVolume 2024-09-09 15:30:42 +02:00
PeterBackroll f80a318a6f
Merge branch 'apache:main' into Backroll 2024-09-09 10:27:28 +02:00
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
Pierre Charton ffa89a4799 Fix Backroll version 2024-08-01 16:34:09 +02:00
PeterBackroll bf2c03619c
Merge branch 'main' into Backroll 2024-08-01 14:14:04 +02:00