velero backup create
(Redirected from Vbc)
Jump to navigation
Jump to search
velero backup create --help (https://velero.io/docs/main/backup-reference/
--ttl default to 30 days (720 hours) --ttl 8766 (1 year) An error occurred: invalid argument "8766" for "--ttl" flag: time: missing unit in duration "8766"
velero backup create backup --include-namespaces namespace --ttl 8766h
Contents
Create a new backup[edit]
velero backup create mynewname-backup --include-namespaces mynamespace
Create backup of namespace[edit]
velero backup create mynewname-backup --include-namespaces mynamespace
Create backup of: app[edit]
velero backup create my-nginx-backup --selector app=nginx
Outputs[edit]
velero backup create yournamespace --include-namespaces yournamespace Backup request "yournamespace" submitted successfully. Run `velero backup describe yournamespace` or `velero backup logs yournamespace` for more details.
velero backup create mybackupName --include-cluster-resources=true --ordered-resources 'pods=ns1/pod1,ns1/pod2;persistentvolumes=pv4,pv8' --include-namespaces=ns1 velero backup create mybackupName --ordered-resources 'statefulsets=ns1/sts1,ns1/sts0' --include-namespaces=yournamespace
velero backup create mytest Backup request "mytest" submitted successfully. Run `velero backup describe mytest` or `velero backup logs mytest` for more details.
Errors[edit]
velero backup create An error occurred: a backup name is required, unless you are creating based on a schedule
Related[edit]
See also[edit]
velero backup create
velero backup [ create | describe | logs | download | get | delete ]
- Velero: [
backup | backup-location | bug | client | completion | create | debug | delete | get | describe | help | install
]kubectl kots velero | plugin | repo | restore | schedule | uninstall
],helm install velero
,--help
, Velero: Cluster migration
Advertising: