add FileRestore API for PBS

Includes list and restore calls.

Requires VM.Backup and Datastore.Audit permissions, for the accessed
VM/CT and containing datastore respectively.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter
2021-04-22 17:34:54 +02:00
committed by Thomas Lamprecht
parent 6035a5dfb1
commit f1a3ce3b17
3 changed files with 167 additions and 1 deletions

View File

@ -1,5 +1,5 @@
SOURCES= Content.pm Status.pm Config.pm PruneBackups.pm Scan.pm
SOURCES= Content.pm Status.pm Config.pm PruneBackups.pm Scan.pm FileRestore.pm
.PHONY: install
install: