Hello, thank you for your reply,
these are the outputs of commands
1. the backup that causes the problems (everest and pg)
it is any backup, not just this one…
kubectl get dbb postgresql-dss-repo2-full-wrstp -n everest -o yaml
apiVersion: everest.percona.com/v1alpha1
kind: DatabaseClusterBackup
metadata:
creationTimestamp: “2024-08-15T04:00:41Z”
generation: 1
labels:
backupStorage-minio-: used
clusterName: postgresql-dss
name: postgresql-dss-repo2-full-wrstp
namespace: everest
resourceVersion: “46542986”
uid: 6f831706-fa1b-454b-977b-860474ee1f2f
spec:
backupStorageName: minio-
dbClusterName: postgresql-dss
status:
completed: “2024-08-15T04:01:00Z”
created: “2024-08-15T04:00:41Z”
gaps: false
state: Succeeded
kubectl get pg-backup postgresql-dss-repo2-full-wrstp -n everest -o yaml
apiVersion: pgv2.percona.com/v2
kind: PerconaPGBackup
metadata:
creationTimestamp: “2024-08-15T04:00:41Z”
generateName: postgresql-dss-repo2-full-
generation: 1
name: postgresql-dss-repo2-full-wrstp
namespace: everest
ownerReferences:
- apiVersion: everest.percona.com/v1alpha1
blockOwnerDeletion: true
kind: DatabaseClusterBackup
name: postgresql-dss-repo2-full-wrstp
uid: 6f831706-fa1b-454b-977b-860474ee1f2f
resourceVersion: “46542985”
uid: 4197399d-a501-40ff-9453-5c7c68e13775
spec:
options:
- –type=full
pgCluster: postgresql-dss
repoName: repo2
status:
backupType: full
completed: “2024-08-15T04:01:00Z”
destination: s3://percona/postgresql-dss/c08bc6ca-2c8d-4d7a-b611-56d0cc84fffe
image: percona/percona-postgresql-operator:2.3.1-ppg16-pgbackrest
jobName: postgresql-dss-backup-dtng
repo:
name: repo2
s3:
bucket: percona
endpoint: minio.:9000/
region: ba-central-1
schedules:
full: 0 4 * * *
state: Succeeded
storageType: s3
2. the restore that causes the problems (everest and pg)
kubectl get dbr restore-67w -n everest -o yaml
apiVersion: everest.percona.com/v1alpha1
kind: DatabaseClusterRestore
metadata:
creationTimestamp: “2024-08-15T05:46:21Z”
generation: 1
labels:
clusterName: postgresql-dss
name: restore-67w
namespace: everest
ownerReferences:
- apiVersion: everest.percona.com/v1alpha1
blockOwnerDeletion: true
kind: DatabaseCluster
name: postgresql-dss
uid: c08bc6ca-2c8d-4d7a-b611-56d0cc84fffe
resourceVersion: “46602855”
uid: fb0b1ce0-cbd4-4e88-af5a-6af82547c5bb
spec:
dataSource:
dbClusterBackupName: postgresql-dss-repo2-full-wrstp
dbClusterName: postgresql-dss
status:
state: Failed
kubectl get pg-restore restore-67w -n everest -o yaml
apiVersion: pgv2.percona.com/v2
kind: PerconaPGRestore
metadata:
creationTimestamp: “2024-08-15T05:46:22Z”
generation: 1
name: restore-67w
namespace: everest
ownerReferences:
- apiVersion: everest.percona.com/v1alpha1
blockOwnerDeletion: true
controller: true
kind: DatabaseClusterRestore
name: restore-67w
uid: fb0b1ce0-cbd4-4e88-af5a-6af82547c5bb
resourceVersion: “46602823”
uid: c58b6897-7ee4-4146-a298-d6876f5fb47c
spec:
options:
- –set=
- –type=immediate
pgCluster: postgresql-dss
repoName: repo2
status:
state: Failed
3. DB which is created from the backup and stuck in Unknown (everest and pg)
kubectl get db restored-postgresql-ds -n everest -o yaml
apiVersion: everest.percona.com/v1alpha1
kind: DatabaseCluster
metadata:
creationTimestamp: “2024-08-15T06:01:55Z”
finalizers:
- everest.percona.com/dbb-cleanup
- foregroundDeletion
generation: 3
labels:
clusterName: restored-postgresql-ds
monitoringConfigName: pmm
name: restored-postgresql-ds
namespace: everest
resourceVersion: “46605147”
uid: d9837be7-ba76-48d4-8329-85b60b9c9ae8
spec:
allowUnsafeConfiguration: true
backup:
enabled: false
pitr:
enabled: false
dataSource:
dbClusterBackupName: postgresql-dss-repo2-full-wrstp
engine:
replicas: 1
resources:
cpu: “1”
memory: 2G
storage:
class: trident
size: 25G
type: postgresql
userSecretsName: everest-secrets-restored-postgresql-ds
version: “16.1”
monitoring:
monitoringConfigName: pmm
resources: {}
proxy:
expose:
ipSourceRanges:
- 0.0.0.0/0
type: external
replicas: 1
resources:
cpu: “0”
memory: “0”
kubectl get perconapgclusters restored-postgresql-ds -n everest -o yaml
Error from server (NotFound): perconapgclusters.pgv2.percona.com “restored-postgresql-ds” not found