# Create backup from local that's importable through DevKinsta

**URL:** <https://community.kinsta.com/t/create-backup-from-local-thats-importable-through-devkinsta/1864>\
**Category:** Application Support\
**Created:** [November 10, 2022, 7:12pm UTC](https://community.kinsta.com/t/create-backup-from-local-thats-importable-through-devkinsta/1864 "2022-11-10T19:12:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/kevin/32/808_2.png) [@Kevin](https://community.kinsta.com/u/Kevin)\
**Post date:** [November 10, 2022, 7:41pm UTC](https://community.kinsta.com/t/create-backup-from-local-thats-importable-through-devkinsta/1864/2 "2022-11-10T19:41:42Z")

</div>

Hi @rpearson, thanks for reaching out. You essentially just need to create a ZIP with your file directory and a DB export.

You can use this command to create an export of your database (on a standard WP setup):

`docker exec -it devkinsta_fpm bash -c "cd /www/kinsta/public/SITENAME && wp db export --allow-root"`

You can then create a ZIP with your SQL file adjacent to your files `~/Devkinsta/public/SITENAME from your filesystem using your ZIP tool of choice.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/5/55953bb6d4ff92592738973a91d7db4747d7adac.png)

The process will be a bit different depending on OS but feel free to let us know if you have any questions.

---

_[View the full topic](https://community.kinsta.com/t/create-backup-from-local-thats-importable-through-devkinsta/1864)._
