Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

velero version 1.12.1 failed with error "An error occurred: unknown flag: --use-restic" #7123

Closed
subhankar-banerjee opened this issue Nov 19, 2023 · 1 comment
Assignees
Labels
Candidate for close Issues that should be closed and need a team review before closing

Comments

@subhankar-banerjee
Copy link

[rke@kube-master rke-k8s]$ velero version
Client:
Version: v1.12.1
Git commit: 5c4fdfe
<error getting server version: no matches for kind "ServerStatusRequest" in version "velero.io/v1">
[rke@kube-master rke-k8s]$

I was trying to install the Velero server on the rancher k8s cluster ( Rancher Kubernetes: v1.25.9-rancher2 ) backend storage is Ceph RBD . I was using Velero version 1.12.1 but I am getting an error: An error occurred: unknown flag: --use-restic

velero install command ---

velero install
--provider aws
--plugins velero/velero-plugin-for-aws:v1.8.1
--bucket rancher-k8s-backup
--secret-file ./credentials-minio
--use-volume-snapshots=false
--use-restic
--backup-location-config
region=minio,s3ForcePathStyle="true",s3Url=http://<my_machine_ip>:9000

@blackpiglet blackpiglet self-assigned this Nov 20, 2023
@blackpiglet
Copy link
Contributor

https://github.com/vmware-tanzu/velero/releases/v1.10.0
Please check the Velero v1.10.0 release note. The --use-restic is renamed to --use-node-agent.

@blackpiglet blackpiglet added the Candidate for close Issues that should be closed and need a team review before closing label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Candidate for close Issues that should be closed and need a team review before closing
Projects
None yet
Development

No branches or pull requests

2 participants