]> git.proxmox.com Git - proxmox-backup.git/commit
split proxmox-file-restore into its own crate
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 1 Sep 2021 10:21:51 +0000 (12:21 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 1 Sep 2021 10:23:29 +0000 (12:23 +0200)
commit6c76aa434dec446789419d543797b3a35566d35d
treed034e8513e868376e206d6b8843a47ba3984af5a
parente5f9b7f79e922eafdc08a35b764eca257bf3cc4d
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>
29 files changed:
Cargo.toml
Makefile
pbs-buildcfg/src/lib.rs
pbs-tools/Cargo.toml
pbs-tools/src/fd.rs [new file with mode: 0644]
pbs-tools/src/lib.rs
pbs-tools/src/logrotate.rs [new file with mode: 0644]
pbs-tools/src/sys.rs [new file with mode: 0644]
proxmox-backup-debug/Cargo.toml
proxmox-file-restore/Cargo.toml [new file with mode: 0644]
proxmox-file-restore/src/block_driver.rs [new file with mode: 0644]
proxmox-file-restore/src/block_driver_qemu.rs [new file with mode: 0644]
proxmox-file-restore/src/cpio.rs [new file with mode: 0644]
proxmox-file-restore/src/main.rs [new file with mode: 0644]
proxmox-file-restore/src/qemu_helper.rs [new file with mode: 0644]
src/backup/mod.rs
src/bin/proxmox-backup-api.rs
src/bin/proxmox-backup-proxy.rs
src/bin/proxmox-file-restore.rs [deleted file]
src/bin/proxmox_file_restore/block_driver.rs [deleted file]
src/bin/proxmox_file_restore/block_driver_qemu.rs [deleted file]
src/bin/proxmox_file_restore/mod.rs [deleted file]
src/bin/proxmox_file_restore/qemu_helper.rs [deleted file]
src/config/tfa.rs
src/server/mod.rs
src/server/worker_task.rs
src/tools/cpio.rs [deleted file]
src/tools/logrotate.rs [deleted file]
src/tools/mod.rs