Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 3, 2020 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/f19ae7ed8a0041e494cc27f8eab75378 to your computer and use it in GitHub Desktop.
Save velotiotech/f19ae7ed8a0041e494cc27f8eab75378 to your computer and use it in GitHub Desktop.
# Describe the backup to see the status
$ velero backup describe testbackup --details
# Check backup logs, and look for errors if any
$ velero backup logs testbackup
# Describe the restore to see the status
$ velero restore describe testrestore --details
# Check restore logs, and look for errors if any
$ velero restore logs testrestore
# Check velero and restic pod logs, and look for errors if any
$ kubectl -n velero logs VELERO_POD_NAME/RESTIC_POD_NAME
NOTE: You can change the default log-level to debug mode by adding --log-level=debug as an argument to the container command in the velero pod template spec.
# Describe the BackupStorageLocation resource and look for any errors in Events
$ kubectl describe BackupStorageLocation default -n velero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment