Ruben S. Montero and Pavel Czerny
3dfd53df1c
F #6053 : In-place restore of VM backups (shared and ssh drivers)
...
This commit implements the in-place restore of VM backups. Selected VM disks will
be replaced with the specified backup:
* A new API call has been added to the XML-RPC API (`one.vm.restore`) with
the following arguments:
- VM ID to be restored, needs to be in **poweroff** state
- IMAGE ID of the backup to restore
- INCREMENT ID, only for incremental backups, the increment to use
(defults to -1 to use the last increment available)
- DISK ID of the disk to restore (defaults to -1 to restore all VM
disks)
* Datastore drivers needs to implemente a new operation `ls`. This new
operation takes the VM, image information of the backup and datastore
information and returns the restore URL for the disks in the backup.
* This commit includes the implementation for qcow2 and ssh drivers,
ceph will be implemented in a separated PR. The new driver action is
`restore host:vm_dir vm_id img_id inc_id disk_id`
* The restore operation is performed in a new state `PROLOG_RESTORE`
rendered as `RESTORE` and `rest` in short form. State in in RSuntone.
TODO:
- Remove any existing VM snapshot (system/disk) in the VM. Note that
snapshots are not included in a backup.
- Ceph drivers
- JAVA, GO Lang API bindings
- Sunstone interface, new state and new operation. Review new state in
RSuntone.
co-authored-by: Pavel Czerny <pczerny@opennebula.io >
2024-04-26 12:45:04 +02:00
..
2023-02-02 12:54:45 +01:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-12-22 19:42:03 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2024-01-08 14:07:03 +01:00
2023-02-14 09:51:04 +01:00
2023-01-31 13:46:09 +01:00
2023-02-07 13:19:03 +01:00
2024-04-09 18:05:39 +02:00
2023-08-07 11:49:18 +02:00
2023-08-07 11:49:18 +02:00
2023-11-10 10:34:04 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-11-15 13:04:50 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-09 19:40:44 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2024-04-26 12:45:04 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-02 12:54:45 +01:00
2023-03-08 15:52:20 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2024-01-08 14:07:03 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-09-18 16:17:59 +02:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 18:29:09 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-04-24 20:45:45 +02:00
2024-02-08 14:57:28 +01:00
2023-02-07 08:56:52 +01:00
2023-08-29 17:11:01 +02:00
2024-03-11 18:08:02 +01:00
2023-02-07 13:19:03 +01:00
2023-02-07 08:56:52 +01:00
2023-09-18 16:17:59 +02:00
2023-01-09 12:23:19 +01:00
2023-02-14 09:51:04 +01:00
2023-02-02 12:54:45 +01:00
2023-06-19 12:59:55 +02:00
2024-04-26 12:45:04 +02:00
2023-01-31 13:46:09 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-14 09:51:04 +01:00
2023-02-14 09:51:04 +01:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2024-03-11 12:05:39 +01:00
2024-01-08 14:07:03 +01:00
2023-07-03 18:15:52 +02:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-02-07 08:56:52 +01:00
2023-02-02 12:54:45 +01:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-03-16 13:11:27 +01:00
2024-01-08 14:07:03 +01:00
2024-01-08 14:07:03 +01:00
2024-01-08 14:07:03 +01:00
2024-01-08 14:07:03 +01:00
2023-12-12 16:20:08 +01:00
2023-02-07 08:56:52 +01:00
2024-01-08 14:07:03 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-01-31 13:46:09 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-07-03 18:15:52 +02:00
2023-07-03 18:15:52 +02:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-07-03 18:15:52 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2024-01-31 17:50:45 +01:00
2023-07-03 18:15:52 +02:00
2023-06-21 09:40:03 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2024-01-08 14:07:03 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2024-04-26 12:45:04 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-09-14 15:36:26 +02:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2023-07-03 18:15:52 +02:00
2023-07-03 18:15:52 +02:00
2023-09-21 11:29:41 +02:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-07-20 19:04:28 +02:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-02 12:54:45 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2024-01-08 14:07:03 +01:00
2024-04-26 12:45:04 +02:00
2023-01-31 13:46:09 +01:00
2023-02-07 08:56:52 +01:00
2023-09-18 16:17:59 +02:00
2023-01-31 13:46:09 +01:00
2023-02-07 08:56:52 +01:00
2024-04-26 12:45:04 +02:00
2023-02-07 08:56:52 +01:00
2024-03-11 18:08:02 +01:00
2023-03-16 13:11:27 +01:00
2023-03-16 13:11:27 +01:00
2023-01-09 12:23:19 +01:00
2023-12-22 19:42:03 +01:00
2023-07-03 18:15:52 +02:00
2024-02-07 16:26:00 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-09-18 16:17:59 +02:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00
2024-04-26 12:45:04 +02:00
2023-09-14 15:36:26 +02:00
2023-02-07 08:56:52 +01:00
2023-11-10 10:34:04 +01:00
2023-01-31 13:46:09 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-01-09 12:23:19 +01:00
2023-02-07 08:56:52 +01:00
2023-02-07 08:56:52 +01:00