Add example for restoring with --include-resources

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
Nolan Brubaker
2019-04-12 11:21:00 -04:00
parent 0e0f357cef
commit d679498c8a

View File

@@ -49,6 +49,9 @@ func NewCreateCommand(f client.Factory, use string) *cobra.Command {
# create a restore from the latest successful backup triggered by schedule "schedule-1"
velero restore create --from-schedule schedule-1
# create a restore for only persistentvolumeclaims and persistentvolumes within a backup
velero restore create --from-backup backup-2 --include-resources persistentvolumeclaims,persistentvolumes
`,
Args: cobra.MaximumNArgs(1),
Run: func(c *cobra.Command, args []string) {