<p>Your best bet would be to find a database backup that has the order information that was deleted and write a script that re-inserts that order info into your existing database.</p>

CC BY-SA 3.0
2017-01-11T21:09:28.380Z
Thanks for you answer. I've now tried to recreate the orders, but it seems that there's a lot of dependencies and several tables that need an insert from backup database. Does anyone have such a script?
Beuschau
CC BY-SA 3.0
2017-01-03T19:24:54.757Z
2017-01-03T19:24:54.757Z
Brad Bell
<p>The client has unfortunately deleted some orders from the Craft Commerce plugin. Does anyone know if it's possible to recreate deleted orders?</p>

<plugin-craftcommerce>
Recreate deleted orders?
# Recreate deleted orders?

(Asked by: username_0 on 2017-01-03)

The client has unfortunately deleted some orders from the Craft Commerce plugin. Does anyone know if it's possible to recreate deleted orders?

**Tags:** plugin-craftcommerce


---

## 1 answers

### Answer by username_1 on 2017-01-03. Score: 1

Your best bet would be to find a database backup that has the order information that was deleted and write a script that re-inserts that order info into your existing database.

> **Comments:**
> **username_0**: Thanks for you answer. I've now tried to recreate the orders, but it seems that there's a lot of dependencies and several tables that need an insert from backup database. Does anyone have such a script?  

---

