proxmox-backup/src/api2
Dominik Csapak ff99780303 api2/tape/restore: add optional snapshots to 'restore'
this makes it possible to only restore some snapshots from a tape media-set
instead of the whole. If the user selects only a small part, this will
probably be faster (and definitely uses less space on the target
datastores).

the user has to provide a list of snapshots to restore in the form of
'store:type/group/id'
e.g. 'mystore:ct/100/2021-01-01T00:00:00Z'

we achieve this by first restoring the index to a temp dir, retrieving
a list of chunks, and using the catalog, we generate a list of
media/files that we need to (partially) restore.

finally, we copy the snapshots to the correct dir in the datastore,
and clean up the temp dir

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-05-11 12:53:38 +02:00
..
access api2/access/user: remove password for @pbs users on removal 2021-04-15 08:33:20 +02:00
admin api/datastore: allow pxar file download of entire archive 2021-04-13 08:26:41 +02:00
backup verify: factor out common parameters 2021-01-26 09:54:49 +01:00
config acme: use proxmox-acme-plugins and load schema from there 2021-05-10 14:41:12 +02:00
node fix #3296: use proxy client to retrieve changelog 2021-05-10 08:48:52 +02:00
reader replace Userid with Authid 2020-10-29 15:11:39 +01:00
tape api2/tape/restore: add optional snapshots to 'restore' 2021-05-11 12:53:38 +02:00
types api: move AcmeChallengeSchema to acme types module 2021-05-10 14:39:07 +02:00
access.rs change half-ticket time range from -120..240 to -60..600 2021-02-01 15:13:11 +01:00
admin.rs improve code docs in api2 2021-01-22 15:57:42 +01:00
backup.rs cleanup: cleanup use clause (avoid *) 2021-02-22 09:33:29 +01:00
config.rs add config/acme api path 2021-05-04 09:30:49 +02:00
helpers.rs file-restore: Add 'v' (Virtual) ArchiveEntry type 2021-04-21 17:19:40 +02:00
node.rs add node/{node}/config api path 2021-05-04 09:32:42 +02:00
ping.rs improve code docs in api2 2021-01-22 15:57:42 +01:00
pull.rs clippy: us *_or_else with function calls 2021-01-20 16:23:54 +01:00
reader.rs cleanup: cleanup use clause (avoid *) 2021-02-22 09:33:29 +01:00
status.rs dashboard: fix datastore full estimate for not changing usage 2021-03-02 17:51:13 +01:00
version.rs use build.rs to pass REPOID to rustc-env 2021-05-07 10:11:39 +02:00