# Error while restore backup

**URL:** <https://meta.discourse.org/t/error-while-restore-backup/278550>\
**Category:** Self-hosting\
**Tags:** backups\
**Created:** [September 11, 2023, 10:51am UTC](https://meta.discourse.org/t/error-while-restore-backup/278550 "2023-09-11T10:51:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [September 11, 2023, 4:33pm UTC](https://meta.discourse.org/t/error-while-restore-backup/278550/3 "2023-09-11T16:33:28Z")

</div>

Seems likely. But just possibly the problem is that the backup file has already been uncompressed - perhaps uncompressed when downloaded - and so is not in good shape for the restore.

Check the backup file with

```plaintext
ls -l filename
file filename
gunzip -tv filename
tar tfz filename

```

---

_[View the full topic](https://meta.discourse.org/t/error-while-restore-backup/278550)._
