From 8c402d36b198a376c66a6ff7defc04619edb7c66 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Wed, 11 Sep 2024 14:51:55 +0200 Subject: [PATCH] docs(backup-restore): update kubectl output * Velero doesn't start the Restic Pods anymore. * Also update the AWS-Plugin. Signed-off-by: Rasmus Thomsen Signed-off-by: chris199512 <84684730+chris199512@users.noreply.github.com> --- docs/backup-restore.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/backup-restore.md b/docs/backup-restore.md index e5a5d0ace..c19f88de6 100644 --- a/docs/backup-restore.md +++ b/docs/backup-restore.md @@ -37,13 +37,13 @@ aws_secret_access_key = minio123 We can install Velero by using below command ``` -velero install --provider aws --bucket velero --secret-file /home/pawan/velero/credentials-minio --plugins velero/velero-plugin-for-aws:v1.0.0-beta.1 --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000 --use-volume-snapshots=true --use-node-agent --uploader-type restic +velero install --provider aws --bucket velero --secret-file /home/pawan/velero/credentials-minio --plugins velero/velero-plugin-for-aws:v1.10.1 --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000 --use-volume-snapshots=true --use-node-agent ``` If you would like to use cloud storage like AWS-S3 buckets for storing backups, you could use a command like the following: ``` -velero install --provider aws --bucket --secret-file <./aws-iam-creds> --plugins velero/velero-plugin-for-aws:v1.0.0-beta.1 --backup-location-config region=,s3ForcePathStyle="true" --use-volume-snapshots=true --use-node-agent --uploader-type restic +velero install --provider aws --bucket --secret-file <./aws-iam-creds> --plugins velero/velero-plugin-for-aws:v1.10.1 --backup-location-config region=,s3ForcePathStyle="true" --use-volume-snapshots=true --use-node-agent ``` We have to install the velero 1.5 or later version for LocalPV-ZFS. @@ -65,9 +65,7 @@ $ kubectl get po -n velero NAME READY STATUS RESTARTS AGE minio-d787f4bf7-xqmq5 1/1 Running 0 8s minio-setup-prln8 0/1 Completed 0 8s -restic-4kx8l 1/1 Running 0 69s -restic-g5zq9 1/1 Running 0 69s -restic-k7k4s 1/1 Running 0 69s +node-agent-lltf2 1/1 Running 0 69s velero-7d9c448bc5-j424s 1/1 Running 3 69s ```