restore on different namespace from the backup

28 views
Skip to first unread message

Tim

unread,
Jul 3, 2023, 7:54:24 AM7/3/23
to Project Velero
Hi, I just join and I am an absolute beginner on velero.

I have a following question, 

I have a backup when it was created by using 
--include-namespaces <ns01>
but now I want to create a restore on another namespaces 
<ns02>

Is it possible to create a restore on <ns02> from backup that include <ns01>

Maybe it is possible but I can't find it on velero documentation.

Also is there a velero command cheatsheet ?
I find it difficult to navigate through the docs.

Are there any another community besides Google Groups?
Which platform is the most active one? I am new here and I want to learn as much from the community.

Orlin Vasilev

unread,
Jul 3, 2023, 8:05:48 AM7/3/23
to Tim, Project Velero
Hi Tim,


velero restore create <RESTORE_NAME> \
  --from-backup <BACKUP_NAME> \
  --namespace-mappings old-ns-1:new-ns-1,old-ns-2:new-ns-2

no cheatsheet yet but good idea you can open GH issue for that
only this group and more active please is slack : https://kubernetes.slack.com/archives/C6VCGP4MT
into the Kubernetes slack space

Orlix

--
You received this message because you are subscribed to the Google Groups "Project Velero" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectveler...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectvelero/2f206be8-bb84-43a9-a9d2-7cdd96c722c8n%40googlegroups.com.

Tim

unread,
Jul 3, 2023, 8:42:21 AM7/3/23
to Project Velero
oh thank you! with hindsight, It was there in the docs I didn't look it through.

btw, how do I join your slack? It says doesn’t have an account on this workspace. Do I need to get the invitation first?

Tim

unread,
Jul 3, 2023, 8:53:54 AM7/3/23
to Project Velero
ok sorry I found the self invitation link
Message has been deleted
Message has been deleted

Shyju Krishnan

unread,
Jul 13, 2023, 1:23:08 PM7/13/23
to Project Velero
please try this command 
velero restore create --from-backup <backup-name> --namespace-mappings <source-namespace>:<target-namespace>


Thnaks 
Reply all
Reply to author
Forward
0 new messages