proxmox-backup/src/bin
Stefan Reiter 58421ec112 file-restore: add basic VM/block device support
Includes methods to start, stop and list QEMU file-restore VMs, as well
as CLI commands do the latter two (start is implicit).

The implementation is abstracted behind the concept of a
"BlockRestoreDriver", so other methods can be implemented later (e.g.
mapping directly to loop devices on the host, using other hypervisors
then QEMU, etc...).

Starting VMs is currently unused but will be needed for further changes.

The design for the QEMU driver uses a locked 'map' file
(/run/proxmox-backup/$UID/restore-vm-map.json) containing a JSON
encoding of currently running VMs. VMs are addressed by a 'name', which
is a systemd-unit encoded combination of repository and snapshot string,
thus uniquely identifying it.

Note that currently you need to run proxmox-file-restore as root to use
this method of restoring.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-04-08 14:11:02 +02:00
..
proxmox_backup_client proxmox_client_tools: move common key related functions to key_source.rs 2021-04-01 11:09:28 +02:00
proxmox_backup_manager proxmox-backup-manger verify-job CLI 2021-02-11 14:06:44 +01:00
proxmox_client_tools file-restore: add basic VM/block device support 2021-04-08 14:11:02 +02:00
proxmox_file_restore file-restore: add basic VM/block device support 2021-04-08 14:11:02 +02:00
proxmox_restore_daemon file-restore-daemon: add disk module 2021-04-08 14:03:54 +02:00
proxmox_tape tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00
docgen.rs tape: cleanup TapeJob implementation - uses AllOf Schema with SectionConfig 2021-02-25 09:44:31 +01:00
dump-catalog-shell-cli.rs move api dump binaries back to src/bin for package building 2020-06-16 14:48:01 +02:00
pmt.rs tape: pmt - implement options command 2021-04-08 08:34:45 +02:00
pmtx.rs tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00
proxmox-backup-api.rs server/rest: add ApiAuth trait to make user auth generic 2021-04-08 13:57:57 +02:00
proxmox-backup-banner.rs s/pbsbanner/proxmox-backup-banner/ + move to /usr/lib 2020-02-10 14:43:28 +01:00
proxmox-backup-client.rs proxmox_client_tools: move common key related functions to key_source.rs 2021-04-01 11:09:28 +02:00
proxmox-backup-manager.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
proxmox-backup-proxy.rs server/rest: add ApiAuth trait to make user auth generic 2021-04-08 13:57:57 +02:00
proxmox-daily-update.rs clippy: more misc fixes 2021-01-26 09:54:55 +01:00
proxmox-file-restore.rs file-restore: add basic VM/block device support 2021-04-08 14:11:02 +02:00
proxmox-restore-daemon.rs file-restore-daemon: add disk module 2021-04-08 14:03:54 +02:00
proxmox-tape.rs tape: correctly set/display drive option 2021-04-08 07:28:30 +02:00
pxar.rs fix feature flag logic in pxar create 2021-03-12 10:17:51 +01:00
sg-tape-cmd.rs tape: implement LTO userspace driver 2021-04-08 07:28:30 +02:00