chore(doc): Update backup/restore doc with s3-bucket use (#267)

Signed-off-by: Aman Gupta <aman.gupta@mayadata.io>
This commit is contained in:
Aman Gupta 2021-01-05 22:49:55 +05:30 committed by GitHub
parent 2e5e61d255
commit 602a4eb503
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,12 @@ 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-restic 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-restic
``` ```
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 <bucket_name> --secret-file <./aws-iam-creds> --plugins velero/velero-plugin-for-aws:v1.0.0-beta.1 --backup-location-config region=<bucket_region>,s3ForcePathStyle="true" --use-volume-snapshots=true --use-restic
```
We have to install the velero 1.5 or later version for ZFS-LocalPV. We have to install the velero 1.5 or later version for ZFS-LocalPV.
### c. Deploy MinIO ### c. Deploy MinIO