Difference between revisions of "Velero backup describe"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  velero backup describe mytest
+
  [[velero backup]] describe
 +
(no output)
 +
 
 +
== Examples ==
 +
 
 +
<pre>velero backup describe mybackup
 +
Name:        mybachup
 +
Namespace:    velero
 +
Labels:      velero.io/storage-location=default
 +
Annotations:  velero.io/source-cluster-k8s-gitversion=v1.19.15
 +
              velero.io/source-cluster-k8s-major-version=1
 +
              velero.io/source-cluster-k8s-minor-version=19
 +
 
 +
Phase:  Completed
 +
 
 +
 
 +
Namespaces:
 +
  Included:  mynamespace
 +
  Excluded:  <none>
 +
 
 +
Resources:
 +
  Included:        *
 +
  Excluded:        <none>
 +
  Cluster-scoped:  auto
 +
 
 +
Label selector:  <none>
 +
 
 +
Or label selector:  <none>
 +
 
 +
Storage Location:  default
 +
 
 +
Velero-Native Snapshot PVs:  auto
 +
Snapshot Move Data:          auto
 +
Data Mover:                  velero
 +
 
 +
TTL:  720h0m0s
 +
 
 +
CSISnapshotTimeout:    0s
 +
ItemOperationTimeout:  0s
 +
 
 +
Hooks:  <none>
 +
 
 +
Backup Format Version:  1.1.0
 +
 
 +
Started:    2024-02-05 12:32:11 +0100 CET
 +
Completed:  2024-02-05 12:32:23 +0100 CET
 +
 
 +
Expiration:  2024-03-06 12:32:11 +0100 CET
 +
 
 +
Total items to be backed up:  59
 +
Items backed up:              59</pre>
 +
 
 +
 
 +
[[velero backup]] describe mytest
 
  Name:        mytest
 
  Name:        mytest
 
  Namespace:    velero
 
  Namespace:    velero
  Labels:      velero.io/storage-location=default
+
  Labels:      [[velero.io]]/storage-location=default
 
  Annotations:  velero.io/resource-timeout=10m0s
 
  Annotations:  velero.io/resource-timeout=10m0s
 
               velero.io/source-cluster-k8s-gitversion=v1.27.4
 
               velero.io/source-cluster-k8s-gitversion=v1.27.4
Line 11: Line 64:
 
  Phase:  FailedValidation
 
  Phase:  FailedValidation
 
   
 
   
  [[Validation errors]]:  [[an existing backup storage location wasn't specified at backup creation time]] and the server default 'default' doesn't exist. Please address this issue (see `[[velero backup-location]] -h` for options) and create a new backup. Error: BackupStorageLocation.velero.io "default"  not found
+
  [[Validation errors]]:  [[an existing backup storage location wasn't specified at backup creation time]] and the server default 'default' doesn't exist. Please address this issue (see `[[velero backup-location]] -h` for options) and create a new backup. Error: [[BackupStorageLocation.velero.io]] "default"  not found
 
    
 
    
 
   
 
   
Line 47: Line 100:
 
  Velero-Native Snapshots: <none included>
 
  Velero-Native Snapshots: <none included>
  
 
+
== Errors ==
velero backup describe
 
(no output)
 
 
 
 
  [[velero backup]] describe
 
  [[velero backup]] describe
 
  An error occurred: no matches for kind "[[Backup]]" in version "[[velero.io]]/v1"
 
  An error occurred: no matches for kind "[[Backup]]" in version "[[velero.io]]/v1"
  
  
 +
velero backup describe your-backupname
 +
Name:        yourbackup
 +
Namespace:    velero
 +
Labels:      velero.io/storage-location=default
 +
Annotations:  velero.io/source-cluster-k8s-gitversion=v1.19.15
 +
              velero.io/source-cluster-k8s-major-version=1
 +
              velero.io/source-cluster-k8s-minor-version=19 
 +
 +
Phase:  [[PartiallyFailed]] (run `[[velero backup logs]] yourbackup` for more information)
 +
 
 +
Warnings:  <error getting warnings: DownloadRequest.velero.io "yournamesapce-12345" is invalid: spec.target.kind: Unsupported value:
 +
"BackupResults": supported values: "BackupLog", "BackupContents", "BackupVolumeSnapshots", "BackupItemSnapshots", "BackupResourceList",
 +
"RestoreLog", "RestoreResults">
 +
 +
Errors:  <error getting errors: DownloadRequest.velero.io "yournamespace123456" is invalid: spec.target.kind: Unsupported value:
 +
"BackupResults": supported values: "BackupLog", "BackupContents", "BackupVolumeSnapshots", "BackupItemSnapshots", "BackupResourceList",
 +
"RestoreLog", "RestoreResults">
 +
 +
Namespaces:
 +
  Included:  yournamespace
 +
  Excluded:  <none>
 +
 +
Resources:
 +
  Included:        *
 +
  Excluded:        <none>
 +
  Cluster-scoped:  auto
 +
 +
Label selector:  <none>
 +
 +
Or label selector:  <none>
 +
 +
Storage Location:  default
 +
 +
Velero-Native Snapshot PVs:  auto
 +
Snapshot Move Data:          auto
 +
Data Mover:                  velero
 +
 +
TTL:  720h0m0s
 +
 +
CSISnapshotTimeout:    0s
 +
ItemOperationTimeout:  0s
 +
 +
Hooks:  <none>
 +
 +
Backup Format Version:  1.1.0
 +
 +
Started:    2000-02-05 10:49:37 +0100 CET
 +
Completed:  2000-02-05 10:49:48 +0100 CET
 +
 +
Expiration:  2024-03-06 10:49:37 +0100 CET
 +
 +
Total items to be backed up:  0
 +
Items backed up:              0
 +
 +
== Related ==
 +
* <code>[[velero backup logs]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{velero.io}}
 
* {{velero backup}}
 
* {{velero backup}}
 
* {{Velero}}
 
* {{Velero}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 11:38, 5 February 2024

velero backup describe
(no output)

Examples[edit]

velero backup describe mybackup
Name:         mybachup
Namespace:    velero
Labels:       velero.io/storage-location=default
Annotations:  velero.io/source-cluster-k8s-gitversion=v1.19.15
              velero.io/source-cluster-k8s-major-version=1
              velero.io/source-cluster-k8s-minor-version=19

Phase:  Completed


Namespaces:
  Included:  mynamespace
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  <none>

Or label selector:  <none>

Storage Location:  default

Velero-Native Snapshot PVs:  auto
Snapshot Move Data:          auto
Data Mover:                  velero

TTL:  720h0m0s

CSISnapshotTimeout:    0s
ItemOperationTimeout:  0s

Hooks:  <none>

Backup Format Version:  1.1.0

Started:    2024-02-05 12:32:11 +0100 CET
Completed:  2024-02-05 12:32:23 +0100 CET

Expiration:  2024-03-06 12:32:11 +0100 CET

Total items to be backed up:  59
Items backed up:              59


velero backup describe mytest
Name:         mytest
Namespace:    velero
Labels:       velero.io/storage-location=default
Annotations:  velero.io/resource-timeout=10m0s
              velero.io/source-cluster-k8s-gitversion=v1.27.4
              velero.io/source-cluster-k8s-major-version=1
              velero.io/source-cluster-k8s-minor-version=27

Phase:  FailedValidation

Validation errors:  an existing backup storage location wasn't specified at backup creation time and the server default 'default' doesn't exist. Please address this issue (see `velero backup-location -h` for options) and create a new backup. Error: BackupStorageLocation.velero.io "default"  not found
 

Namespaces:
  Included:  *
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto 

Label selector:  <none>

Storage Location:  default

Velero-Native Snapshot PVs:  auto
Snapshot Move Data:          auto
Data Mover:                  velero

TTL:  720h0m0s

CSISnapshotTimeout:    10m0s
ItemOperationTimeout:  4h0m0s

Hooks:  <none>

Backup Format Version:  1.1.0

Started:    <n/a>
Completed:  <n/a> 

Expiration:  2023-11-22 10:30:23 +0100 CET

Velero-Native Snapshots: <none included>

Errors[edit]

velero backup describe
An error occurred: no matches for kind "Backup" in version "velero.io/v1"


velero backup describe your-backupname
Name:         yourbackup
Namespace:    velero
Labels:       velero.io/storage-location=default
Annotations:  velero.io/source-cluster-k8s-gitversion=v1.19.15
              velero.io/source-cluster-k8s-major-version=1
              velero.io/source-cluster-k8s-minor-version=19  

Phase:  PartiallyFailed (run `velero backup logs yourbackup` for more information)
 
Warnings:  <error getting warnings: DownloadRequest.velero.io "yournamesapce-12345" is invalid: spec.target.kind: Unsupported value: 
"BackupResults": supported values: "BackupLog", "BackupContents", "BackupVolumeSnapshots", "BackupItemSnapshots", "BackupResourceList", 
"RestoreLog", "RestoreResults"> 

Errors:  <error getting errors: DownloadRequest.velero.io "yournamespace123456" is invalid: spec.target.kind: Unsupported value: 
"BackupResults": supported values: "BackupLog", "BackupContents", "BackupVolumeSnapshots", "BackupItemSnapshots", "BackupResourceList", 
"RestoreLog", "RestoreResults">

Namespaces:
  Included:  yournamespace
  Excluded:  <none>

Resources:
  Included:        *
  Excluded:        <none>
  Cluster-scoped:  auto

Label selector:  <none>

Or label selector:  <none>

Storage Location:  default

Velero-Native Snapshot PVs:  auto
Snapshot Move Data:          auto
Data Mover:                  velero

TTL:  720h0m0s

CSISnapshotTimeout:    0s
ItemOperationTimeout:  0s

Hooks:  <none>

Backup Format Version:  1.1.0

Started:    2000-02-05 10:49:37 +0100 CET
Completed:  2000-02-05 10:49:48 +0100 CET

Expiration:  2024-03-06 10:49:37 +0100 CET

Total items to be backed up:  0
Items backed up:              0

Related[edit]

See also[edit]

Advertising: