# SQL Error during import

**URL:** <https://meta.discourse.org/t/sql-error-during-import/27793>\
**Category:** Self-hosting\
**Created:** [April 21, 2015, 9:06am UTC](https://meta.discourse.org/t/sql-error-during-import/27793 "2015-04-21T09:06:16Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Bahlsen](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@Bahlsen](https://meta.discourse.org/u/Bahlsen)\
**Post date:** [May 3, 2015, 3:51pm UTC](https://meta.discourse.org/t/sql-error-during-import/27793/16 "2015-05-03T15:51:58Z")

</div>

Yeah, 100% same error.

The bug is in the compression. If I expand and compress, without touching the folder, the new tar.gz crashes. If I try to restore from the original backup, it starts, but crashes in line 3.9M

The lines I use

```
tar -xvzf org-backup -C clean-folder

```

and

```
tar -cvzf new-backup -C clean-folder .

```

There is a dot in compress line, not in extract line

Anyway, thanks for trying 😄

---

_[View the full topic](https://meta.discourse.org/t/sql-error-during-import/27793)._
