From d9165696ed00ec8d1b577ee29c4e93060302dbbe Mon Sep 17 00:00:00 2001 From: Priec Date: Sun, 9 Aug 2026 22:57:14 +0200 Subject: [PATCH] pgdump from rust for superadmin2 --- common/proto/backup.proto | 4 ++++ common/src/proto/descriptor.bin | Bin 157182 -> 157509 bytes common/src/proto/komp_ac.backup.rs | 6 ++++++ server | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/common/proto/backup.proto b/common/proto/backup.proto index 23ea3dda..3375957d 100644 --- a/common/proto/backup.proto +++ b/common/proto/backup.proto @@ -48,6 +48,10 @@ message BackupOperationResponse { string output = 5; int64 started_at_unix_seconds = 6; int64 finished_at_unix_seconds = 7; + // Set when an operation produced a file, which today means a succeeded dump. + // The path is on the server host, not the caller's machine. + string artifact_path = 8; + string artifact_sha256 = 9; } message BackupInfoResponse { diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 2c0fd2b6795a95b5d8a43b8b7edd58e1cdc238dc..dad784ea8dd8be4b63af250e78704a5f429e239e 100644 GIT binary patch delta 531 zcmX|+ze~eF6vumasU~M_@v2f=#Rm>`5C<`0>+awnqVDBLP7-L7l3W$1x`;SAiT(rr z0fLal!9gd%|3v%)1o1WY96#S*y!Z3&ynQ$qPvo;oAL@5sRq{gbS@t+f_Q<|i;nOnF z;feHgr!RF-vw^HShb1E(peCBUVz`qAa>L!KIeDyXT8eVG1~+5mS|%ssw^K)oT#NL!GOh>~>Ys zOra;eAdJ*H=Otbo-BlbNW*Z_%&b%Rpv{2_$`3JUOE?pX1HrCw#nvFHrsTmJzZex*i zPAxVR)^=fsATWzzY}@|ZW3(Vxi&pav0`9fwgdq&JCd-C!uQem`GZ;myO=rgz!CHHK X23jM}sTdDyZE^LwOtRNy+TQ&IC$?$& delta 211 zcmX?lj`QDX&W0_FZ-treiBEqo%y@w56w~&NB8*;)EJ|)%Lem2!8HKkeh%x3da~|g5 zViRIvU@+f)U6N6qh0$pHe_6(U#(FL;CKhHP783?@MlLQcW)@~fA!ZW}DK2g<78YhE z1|eosCSfifE>;kS6~tqM@qh|V+4*2RW*|>c2&xSzWyT}|m0|>HGh^a_@j!B%{4gHS RZf3J~E=9)eT#8KAZUCU&9G3t9 diff --git a/common/src/proto/komp_ac.backup.rs b/common/src/proto/komp_ac.backup.rs index 9076e69e..a548dce2 100644 --- a/common/src/proto/komp_ac.backup.rs +++ b/common/src/proto/komp_ac.backup.rs @@ -25,6 +25,12 @@ pub struct BackupOperationResponse { pub started_at_unix_seconds: i64, #[prost(int64, tag = "7")] pub finished_at_unix_seconds: i64, + /// Set when an operation produced a file, which today means a succeeded dump. + /// The path is on the server host, not the caller's machine. + #[prost(string, tag = "8")] + pub artifact_path: ::prost::alloc::string::String, + #[prost(string, tag = "9")] + pub artifact_sha256: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] pub struct BackupInfoResponse { diff --git a/server b/server index 8eedcdfa..648c62c0 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 8eedcdfa344c7029e391a2665b0078c8ccead5b5 +Subproject commit 648c62c03162bab33265fc03b72f5b97a90d0f75