Difference between revisions of "Velero backup create"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  [[velero backup]] create my-backup-from-mynamespace --include-namespaces my-backup-from-mynamespace
 
  [[velero backup]] create my-backup-from-mynamespace --include-namespaces my-backup-from-mynamespace
  
 +
https://www.wikieduonline.com/wiki/Velero_backup_create
 
  [[velero backup create]] YourBackupName --include-cluster-resources=true --ordered-resources 'pods=ns1/pod1,ns1/pod2;persistentvolumes=pv4,pv8' --include-namespaces=ns1
 
  [[velero backup create]] YourBackupName --include-cluster-resources=true --ordered-resources 'pods=ns1/pod1,ns1/pod2;persistentvolumes=pv4,pv8' --include-namespaces=ns1
 
  velero backup create YourBackupName --ordered-resources 'statefulsets=ns1/sts1,ns1/sts0' --include-namespaces=ns1
 
  velero backup create YourBackupName --ordered-resources 'statefulsets=ns1/sts1,ns1/sts0' --include-namespaces=ns1

Revision as of 10:11, 24 January 2024

velero backup create --help
velero backup create my-backup-from-mynamespace --include-namespaces my-backup-from-mynamespace
https://www.wikieduonline.com/wiki/Velero_backup_create
velero backup create YourBackupName --include-cluster-resources=true --ordered-resources 'pods=ns1/pod1,ns1/pod2;persistentvolumes=pv4,pv8' --include-namespaces=ns1
velero backup create YourBackupName --ordered-resources 'statefulsets=ns1/sts1,ns1/sts0' --include-namespaces=ns1
velero backup create mytest
Backup request "mytest" submitted successfully.
Run `velero backup describe mytest` or `velero backup logs mytest` for more details.



Errors

velero backup create
An error occurred: a backup name is required, unless you are creating based on a schedule

Related

velero backup describe
velero create

See also

Advertising: