[pbs-devel] [PATCH proxmox-backup] report: add `date -R` to general system info section
Lukas Wagner
l.wagner at proxmox.com
Thu Feb 23 16:51:11 CET 2023
Sometimes it can be quite useful to know when exactly a system report
was generated. Adds the following output:
# date -R
Thu, 23 Feb 2023 16:21:12 +0100
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
src/server/report.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/server/report.rs b/src/server/report.rs
index 274d622c..cbad15f7 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -21,6 +21,7 @@ fn files() -> Vec<&'static str> {
fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
vec![
// ("<command>", vec![<arg [, arg]>])
+ ("date", vec!["-R"]),
("proxmox-backup-manager", vec!["versions", "--verbose"]),
("proxmox-backup-manager", vec!["subscription", "get"]),
("df", vec!["-h"]),
--
2.30.2
More information about the pbs-devel
mailing list