diff --git a/client-gui2 b/client-gui2 index 45677dc5..91a46f6c 160000 --- a/client-gui2 +++ b/client-gui2 @@ -1 +1 @@ -Subproject commit 45677dc55a11b1889663c2566239c44df951b694 +Subproject commit 91a46f6cf2627631b702308abaa5029783da60ef diff --git a/common/proto/backup.proto b/common/proto/backup.proto index 9d8c0651..c27f2f3e 100644 --- a/common/proto/backup.proto +++ b/common/proto/backup.proto @@ -33,6 +33,9 @@ message DatabaseDumpInfo { string file_name = 1; int64 size_bytes = 2; int64 modified_at_unix_seconds = 3; + bool readable = 4; + string permissions = 5; + string owner = 6; } message ListDatabaseDumpsResponse { @@ -109,4 +112,17 @@ message BackupInfoResponse { bool search_healthy = 6; bool ecb_healthy = 7; string ecb_status = 8; + string dump_directory = 9; + bool dump_directory_exists = 10; + bool dump_directory_readable = 11; + bool dump_directory_writable = 12; + string dump_directory_permissions = 13; + string dump_directory_owner = 14; + string postgres_data_directory = 15; + string database_user = 16; + string database_owner = 17; + bool database_user_owns_database = 18; + bool database_user_can_connect = 19; + bool database_user_can_create_database = 20; + string database_default_tablespace = 21; } diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 1970654a..11470311 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.backup.rs b/common/src/proto/komp_ac.backup.rs index 16f36faf..0c3df534 100644 --- a/common/src/proto/komp_ac.backup.rs +++ b/common/src/proto/komp_ac.backup.rs @@ -24,6 +24,12 @@ pub struct DatabaseDumpInfo { pub size_bytes: i64, #[prost(int64, tag = "3")] pub modified_at_unix_seconds: i64, + #[prost(bool, tag = "4")] + pub readable: bool, + #[prost(string, tag = "5")] + pub permissions: ::prost::alloc::string::String, + #[prost(string, tag = "6")] + pub owner: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatabaseDumpsResponse { @@ -111,6 +117,32 @@ pub struct BackupInfoResponse { pub ecb_healthy: bool, #[prost(string, tag = "8")] pub ecb_status: ::prost::alloc::string::String, + #[prost(string, tag = "9")] + pub dump_directory: ::prost::alloc::string::String, + #[prost(bool, tag = "10")] + pub dump_directory_exists: bool, + #[prost(bool, tag = "11")] + pub dump_directory_readable: bool, + #[prost(bool, tag = "12")] + pub dump_directory_writable: bool, + #[prost(string, tag = "13")] + pub dump_directory_permissions: ::prost::alloc::string::String, + #[prost(string, tag = "14")] + pub dump_directory_owner: ::prost::alloc::string::String, + #[prost(string, tag = "15")] + pub postgres_data_directory: ::prost::alloc::string::String, + #[prost(string, tag = "16")] + pub database_user: ::prost::alloc::string::String, + #[prost(string, tag = "17")] + pub database_owner: ::prost::alloc::string::String, + #[prost(bool, tag = "18")] + pub database_user_owns_database: bool, + #[prost(bool, tag = "19")] + pub database_user_can_connect: bool, + #[prost(bool, tag = "20")] + pub database_user_can_create_database: bool, + #[prost(string, tag = "21")] + pub database_default_tablespace: ::prost::alloc::string::String, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] diff --git a/server b/server index b8ca18a6..61f373ee 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit b8ca18a627297bb6c2b3a3207b32c116a00de08a +Subproject commit 61f373ee5c75f35263e3e5773bb71310bd9371ad