# Staging site deploy erasing entries

**URL:** <https://community.gravityforms.com/t/staging-site-deploy-erasing-entries/13844>\
**Category:** Get Help\
**Tags:** staging, exclude-tables\
**Created:** [November 9, 2022, 9:25pm UTC](https://community.gravityforms.com/t/staging-site-deploy-erasing-entries/13844 "2022-11-09T21:25:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5abfad5febf5e7.1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5abfad5febf5e7.1/32/6095_2.png) [@user5abfad5febf5e7.1](https://community.gravityforms.com/u/user5abfad5febf5e7.1)\
**Post date:** [November 9, 2022, 9:25pm UTC](https://community.gravityforms.com/t/staging-site-deploy-erasing-entries/13844/1 "2022-11-09T21:25:53Z")

</div>

I have a staging site, and when I deploy it to the live site, all the entries in my form get deleted. Is there a workaround for this, or should I make downloading entries the step before a deployment?

Site: [Schedule an Appointment - Design N Mind Interiors](https://designnmindinteriors.com/schedule-an-appointment/)

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [November 10, 2022, 8:36am UTC](https://community.gravityforms.com/t/staging-site-deploy-erasing-entries/13844/2 "2022-11-10T08:36:11Z")

</div>

It sounds like your deployment process is migrating database tables, in which case you’ll need to exclude the following tables: [gf\_entry](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-entry), [gf\_entry\_meta](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-entry-meta), [gf\_entry\_notes](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-entry-notes), and [gf\_draft\_submissions](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-draft-submissions)

If you’re also using a payment add-on you’ll need to exclude the [gf\_addon\_payment\_callback](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-addon-payment-callback) and [gf\_addon\_payment\_transaction](https://docs.gravityforms.com/database-storage-structure-reference/#wp-gf-addon-payment-transaction) tables.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [December 10, 2022, 8:37am UTC](https://community.gravityforms.com/t/staging-site-deploy-erasing-entries/13844/3 "2022-12-10T08:37:02Z")

</div>

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