# Cannot restore backup from cli

**URL:** <https://meta.discourse.org/t/cannot-restore-backup-from-cli/286803>\
**Category:** Self-hosting\
**Tags:** backups\
**Created:** [November 28, 2023, 4:10am UTC](https://meta.discourse.org/t/cannot-restore-backup-from-cli/286803 "2023-11-28T04:10:30Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**Post date:** [November 28, 2023, 5:14am UTC](https://meta.discourse.org/t/cannot-restore-backup-from-cli/286803/12 "2023-11-28T05:14:50Z")

</div>

I tried writing my own script to fix it which didn’t work.

I’m also not an expert with gzips, so not much I can do either. If anybody else knows how I can restore it with full access to the sql script and uploads then please let me know. SQL script is fine at a glance and the uploads are fine as well.

---

_[View the full topic](https://meta.discourse.org/t/cannot-restore-backup-from-cli/286803)._
