Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #70 from stakater/Update-restore
Browse files Browse the repository at this point in the history
Add resource filtering
  • Loading branch information
rasheedamir authored Jan 28, 2021
2 parents 9f1ac38 + 112d1ec commit 3961c00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/sre/backup-restore/backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ Create a restore with your most recent Velero Backup:
~~~
velero restore create --from-backup <SCHEDULE NAME>-<TIMESTAMP>
~~~
If you want to restore specific resources, you can use [resource filtering](https://velero.io/docs/main/resource-filtering/).
For example, you can restore resources in `web` namespace:
```
velero restore create --from-backup <SCHEDULE NAME>-<TIMESTAMP> --include-namespaces web
```
When ready, revert your backup storage location to read-write mode:
~~~
kubectl patch backupstoragelocation <STORAGE LOCATION NAME> \
Expand Down

0 comments on commit 3961c00

Please sign in to comment.