Getting error =backupstoragelocations.velero.io \ "default\" not found #3319
-
Hello Everyone,.I have setup velero on aks azure but getting error =backupstoragelocations.velero.io \ "default" not found |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @tariq1278. What is the output of |
Beta Was this translation helpful? Give feedback.
-
As of Velero versions prior to v1.6, Velero expects a backup storage location (BSL) named "default" will exist and it will use that as the default BSL. In other words, it will use that unless you specify a BSL name during backup creation, OR configure the server to expect a different name as the default. Running You may edit the backupstoragelocations.velero.io/ to be named backupstoragelocations.velero.io/default, this would be a quick fix to this. Alternatively, when you run the backup create, pass the name of the whichever BSL you want to use. With Velero v1.6 and above, you will be able to set any BSL as the default by using the CLI. Example: |
Beta Was this translation helpful? Give feedback.
As of Velero versions prior to v1.6, Velero expects a backup storage location (BSL) named "default" will exist and it will use that as the default BSL. In other words, it will use that unless you specify a BSL name during backup creation, OR configure the server to expect a different name as the default.
Running
velero get backup-location
will let you see the names of all your BSLs.You may edit the backupstoragelocations.velero.io/ to be named backupstoragelocations.velero.io/default, this would be a quick fix to this. Alternatively, when you run the backup create, pass the name of the whichever BSL you want to use.
With Velero v1.6 and above, you will be able to set any BSL as the defau…