proxmox-backup/src
Dominik Csapak 8b4f4d9ee4 tools/logrotate: fix compression logic
we never actually compressed any files, since we only looked at
the extension:
* if it was 'zst' (which was always true for newly rotated files), we
  would not compress it
* even if it was not 'zst', we compressed it inplace, never adding '.zst'
  (possibly compressing them multiple times as zstd)

now we add new rotated files simply as '.X' and add a 'target' to the
compress fn, where we rename it to (but now we have to unlink the source
path)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-10-28 18:50:16 +01:00
..
api2 verify: improve code reuse, fix filter function 2020-10-28 12:58:15 +01:00
backup do_verification_job: fix "never-reverify" and refactor/comment 2020-10-28 16:12:09 +01:00
bin fix compile warning 2020-10-28 10:47:30 +01:00
client add tools::http for generic HTTP GET and move HttpsConnector there 2020-10-21 16:22:08 +02:00
config document verify job structs 2020-10-28 15:32:28 +01:00
pxar pxar: anchor pxarexcludes starting with a slash 2020-10-15 12:28:31 +02:00
rrd clippy fixups 2020-10-14 11:20:07 +02:00
server do_verification_job: fix "never-reverify" and refactor/comment 2020-10-28 16:12:09 +01:00
tools tools/logrotate: fix compression logic 2020-10-28 18:50:16 +01:00
api2.rs api: add world accessible ping dummy endpoint 2020-10-24 19:12:14 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
auth.rs clippy fixups 2020-10-14 11:20:07 +02:00
backup.rs rustdoc: overhaul backup rustdoc and add locking table 2020-10-16 09:38:01 +02:00
buildcfg.rs server/rest: implement request access log 2020-10-16 11:23:49 +02:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs move jobstate to server 2020-10-28 07:37:01 +01:00
lib.rs rustdoc: add crate level doc 2020-10-16 09:37:50 +02:00
server.rs send notification mails for GC and verify jobs 2020-10-28 10:44:23 +01:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs tools: get_hardware_address: better error handling 2020-10-27 13:13:00 +01:00