pgBackRest db backup
This commit is contained in:
@@ -8,8 +8,6 @@ service BackupService {
|
||||
rpc StartCheck(komp_ac.common.Empty) returns (BackupOperationResponse);
|
||||
rpc GetBackupInfo(komp_ac.common.Empty) returns (BackupInfoResponse);
|
||||
rpc GetOperationStatus(GetOperationStatusRequest) returns (BackupOperationResponse);
|
||||
rpc RestoreLatest(RestoreLatestRequest) returns (BackupOperationResponse);
|
||||
rpc RestoreTarget(RestoreTargetRequest) returns (BackupOperationResponse);
|
||||
}
|
||||
|
||||
enum BackupType {
|
||||
@@ -23,7 +21,6 @@ enum OperationKind {
|
||||
OPERATION_KIND_UNSPECIFIED = 0;
|
||||
OPERATION_KIND_BACKUP = 1;
|
||||
OPERATION_KIND_CHECK = 2;
|
||||
OPERATION_KIND_RESTORE = 3;
|
||||
}
|
||||
|
||||
enum OperationStatus {
|
||||
@@ -37,16 +34,6 @@ message StartBackupRequest {
|
||||
BackupType backup_type = 1;
|
||||
}
|
||||
|
||||
message RestoreLatestRequest {
|
||||
string confirmation = 1;
|
||||
}
|
||||
|
||||
message RestoreTargetRequest {
|
||||
string confirmation = 1;
|
||||
string target_type = 2;
|
||||
string target = 3;
|
||||
}
|
||||
|
||||
message GetOperationStatusRequest {
|
||||
string operation_id = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user