Prisma Cloud Compute: Getting error=archive/tar: invalid tar header When Restoring a backup of Prisma Cloud Compute

Prisma Cloud Compute: Getting error=archive/tar: invalid tar header When Restoring a backup of Prisma Cloud Compute

6159
Created On 08/24/22 21:53 PM - Last Modified 08/25/22 18:54 PM


Symptom


When trying to restore a backup of the Prisma Cloud Compute console you get the following error
route_handler.go:10051 Operation failed: uri=/api/v1/backups/<filename>.tar.gz/restore?project=Central+Console; error=archive/tar: invalid tar header


Environment


Prisma Cloud Compute (Self-Hosted): 21.04 or later

Cause


The cause of this error is that the backup was taken from a different browser and a different browser was used to upload it back to the Prisma Cloud console.
 


Resolution


To Resolve this please follow the steps below:
  • Export the backup from the Prisma Cloud Compute console from the Google Chrome browser
  • The console will generate a backup with the following name
daily-22.06.179-1661362313.tar.gz
  • Rename the backup file like the following (in this example we are using console version 22.06.179):
<YOUR-NAME>-22.06.179-1661362313.tar.gz
  • Restore the backup from the Google Chrome browser from which the backup was taken
  • Restart the console pod or container


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sYr7CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language