split proxmox-file-restore into its own crate
This also moves a couple of required utilities such as logrotate and some file descriptor methods to pbs-tools. Note that the logrotate usage and run-dir handling should be improved to work as a regular user as this *should* (IMHO) be a regular unprivileged command (including running qemu given the kvm privileges...) Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -30,6 +30,7 @@ use proxmox_backup::{
|
||||
|
||||
use pbs_buildcfg::configdir;
|
||||
use pbs_systemd::time::{compute_next_event, parse_calendar_event};
|
||||
use pbs_tools::logrotate::LogRotate;
|
||||
|
||||
use proxmox_backup::api2::types::Authid;
|
||||
use proxmox_backup::server;
|
||||
@ -42,7 +43,6 @@ use proxmox_backup::tools::{
|
||||
zfs_pool_stats,
|
||||
get_pool_from_dataset,
|
||||
},
|
||||
logrotate::LogRotate,
|
||||
};
|
||||
|
||||
use proxmox_backup::api2::pull::do_sync_job;
|
||||
|
Reference in New Issue
Block a user