better dumping
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user