# Getting and Error message that says Local was unable to import the following SQL files:

**URL:** <https://community.localwp.com/t/getting-and-error-message-that-says-local-was-unable-to-import-the-following-sql-files/24186>\
**Category:** Support\
**Created:** [February 2, 2021, 12:01am UTC](https://community.localwp.com/t/getting-and-error-message-that-says-local-was-unable-to-import-the-following-sql-files/24186 "2021-02-02T00:01:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alankennedy](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/alankennedy/32/12442_2.png) [@alankennedy](https://community.localwp.com/u/alankennedy)\
**Post date:** [February 2, 2021, 12:01am UTC](https://community.localwp.com/t/getting-and-error-message-that-says-local-was-unable-to-import-the-following-sql-files/24186/1 "2021-02-02T00:01:41Z")

</div>

### Issue Summary

I am trying to use BackWpup in WordPress to create a staging environment in Local. I’m getting stuck because I keep getting this error message when trying to import the backup zip file to Local. “Local was unable to import the following SQL files:” But no file is listed.  
Does this mean the SQL files are not being duplicated into the zip file? Or is it corrupt?

 ![Screen Shot 2021-02-01 at 5.47.39 PM](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/9/948c7dcc5d56eeb8c4cd08634a75d33ce2074410.jpeg)

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?

- Are you able to create a new, plain WordPress site in Local and access it in a Browser?

#### Replication

I’ve uploaded a screenshot of the error message. All I’m doing is dragging and dropping in the zip backup file.

#### System Details

- Which version of Local is being used? 5.9.8+591

- What Operating System (OS) and OS version is being used?  
Using macOS Catalina 10.15.7

Here is the local log file that shows the SQL error at the end.  
[local-lightning.log](https://community.localwp.com/uploads/short-url/Gy2QI8Y1GMZm9TxNBSRxQUTr9R.log) (46.5 KB)

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [May 3, 2021, 12:01am UTC](https://community.localwp.com/t/getting-and-error-message-that-says-local-was-unable-to-import-the-following-sql-files/24186/2 "2021-05-03T00:01:43Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
