This website requires JavaScript.
Explore
Help
Sign In
tyler
/
proxmox-backup
Watch
1
Star
0
Fork
0
You've already forked proxmox-backup
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
ae60eed310
proxmox-backup
/
src
/
bin
/
proxmox_backup_debug
/
mod.rs
4 lines
47 B
Rust
Raw
Normal View
History
Unescape
Escape
move proxmox-backup-debug back to main crate we want to add something to it that needs access to the proxmox_backup::api2 stuff, so it cannot live in a sub crate Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-21 10:11:13 +00:00
pub
mod
inspect
;
pub
mod
recover
;
proxmox-backup-debug: add 'api' subcommands this provides some generic api call mechanisms like pvesh/pmgsh. by default it uses the https api on localhost (creating a token if called as root, else requesting the root@pam password interactively) this is mainly intended for debugging, but it is also useful for situations where some api calls do not have an equivalent in a binary and a user does not want to go through the api not implemented are the http2 api calls (since it is a separate api an it wouldn't be that easy to do) there are a few quirks though, related to the 'ls' command: i extract the 'child-link' from the property name of the 'match_all' statement of the router, but this does not always match with the property from the relevant 'get' api call so it fails there (e.g. /tape/drive ) this can be fixed in the respective api calls (e.g. by renaming the parameter that comes from the path) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-21 10:11:14 +00:00
pub
mod
api
;
Reference in New Issue
Copy Permalink