better dumping

This commit is contained in:
Filipriec
2026-08-31 16:56:19 +02:00
parent 633bf6ce78
commit 78db4ee75a
5 changed files with 50 additions and 2 deletions

View File

@@ -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;
}