mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-14 02:12:10 +00:00
PBSClient: add file_restore_list command
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
parent
9f727e5536
commit
67252649d9
@ -335,4 +335,15 @@ sub status {
|
||||
return ($total, $free, $used, $active);
|
||||
};
|
||||
|
||||
sub file_restore_list {
|
||||
my ($self, $snapshot, $filepath, $base64) = @_;
|
||||
return run_client_cmd(
|
||||
$self,
|
||||
"list",
|
||||
[ $snapshot, $filepath, "--base64", $base64 ? 1 : 0 ],
|
||||
0,
|
||||
"proxmox-file-restore",
|
||||
);
|
||||
}
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user