Run the following command to create the policy:
Example k10-disaster-recovery-policy.yaml
apiVersion: config.kio.kasten.io/v1alpha1
kind: Policy
metadata:
name: k10-disaster-recovery-policy
namespace: kasten-io
spec:
actions:
- action: backup
backupParameters:
filters: {}
profile:
name: <NAME OF LOCATION PROFILE>
namespace: kasten-io
createdBy: kasten-io:k10-k10
frequency: '@hourly'
lastModifyHash: 1498887201
retention:
daily: 1
hourly: 4
monthly: 1
weekly: 1
yearly: 1
selector:
matchExpressions:
- key: k10.kasten.io/appNamespace
operator: In
values:
- kasten-io
Example output
NAME STATUS k10-disaster-recovery-policy Success
Note: The policy status will list ‘Failed’ if there are typos in the location profile, the profile is unavailable, or the incorrect kdrSnapshotConfiguration is set.
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case