0

I'm using velero restic to take backup and restore my kafka which is deployed in GKE cluster.

I deployed kafka in Kafka namespace and I'm trying to take entire namespace backup.

The backup has done. And when I restore in another cluster (In deffreent region) the restic restore got stuck at in progress.

I installed velero with below command

velero install --use-restic --default-volumes-to-restic --use-volume-snapshots=false --provider gcp --plugins velero/velero-plugin-for-gcp:v1.4.0 --bucket kafka-backup-bucket --secret-file ./credentials-velero

To Take backup:

velero backup create kafka-1 --include-namespaces kafka

and to restore:

velero restore create kafka-restore-1 --from-backup kafka-1

now after this when I run restore describe commad am getting this

Name:         kafka-restore-1
Namespace:    velero
Labels:       <none>
Annotations:  <none>

Phase:                                 InProgress
Estimated total items to be restored:  114
Items restored so far:                 114

Started:    2023-07-25 15:14:04 +0000 UTC
Completed:  <n/a>

Backup:  kafka-1

Namespaces:
  Included:  all namespaces found in the backup
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        nodes, events, events.events.k8s.io, backups.velero.io, restores.velero.io, resticrepositories.velero.io
  Cluster-scoped:  auto

Namespace mappings:  <none>

Label selector:  <none>

Restore PVs:  auto

Restic Restores:
  Completed:
    kafka/kafka-0: data, logs
    kafka/kafka-1: data, logs
    kafka/kafka-2: data, logs
  In Progress:
    kafka/kafka-zookeeper-0: data (100.00%)
    kafka/kafka-zookeeper-1: data (100.00%)
    kafka/kafka-zookeeper-2: data (100.00%)

Existing Resource Policy:   <none>

Preserve Service NodePorts:  auto

its been almost half a day it still in InProgess state

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
pds
  • 1
  • 1

0 Answers0