Quick answer
To stop a staging deployment overwriting new enquiries, work out where each type of data lives before you deploy. Form entries usually live only on the live site, so limit the deployment scope, export live entries first, and compare counts before and after, keeping the backup until they match.
- List each data type visitors create, such as form entries, orders and comments, and name where the current copy lives.
- Ask your developer or host exactly what your deployment tool copies, and never assume it excludes the live database.
- Name one person to compare entry counts before and after, and keep the export until nothing is missing.
A staging copy of your site is a snapshot, and the live site keeps moving after the snapshot is taken. Visitors keep sending enquiries, placing orders and leaving comments while you work on the redesign. The risk appears at deployment, when older staging data can quietly replace newer live data.
An illustrative scenario
This is a hypothetical example, not a Web Design Davao client case.
A small training company has redesigned its contact page on a staging copy and wants it live before a seasonal campaign. The site owner assumes the deployment tool only moves the new design. The maintainer is less sure, because the tool offers a “sync everything” option that nobody on the team has read about. Forty new enquiries arrived on the live site last week, and some are from people waiting on quotes. Before pressing anything, the maintainer asks the host what the tool copies, exports the entries, restricts the deployment to theme files, and asks a colleague to note the entry count so it can be compared afterwards.
Deciding where each type of data lives
Start with a plain list of everything visitors create on your site: form entries, orders, comments, bookings and user accounts. Beside each item, write where the current copy lives. For almost every item the answer is the live site, because staging stopped receiving real visitors on the day it was copied. Staging may hold test entries that look real, so do not treat its contents as a record of anything. If you are unsure where a type is stored, ask your developer or host and write down their answer with the date. Anything on the list that nobody can place should be handled as live data until someone confirms otherwise.
Defining what the deployment replaces
Next, find out exactly what your deployment method overwrites. Some methods copy files only, some copy the entire database, and some let you pick individual tables. These behave very differently when new enquiries have arrived in the meantime. Ask the developer or host to describe the behaviour in their own words, and ask what happens to a table that exists on both sides. Do not rely on a default setting or on a colleague’s memory of a previous deployment. If the method cannot leave live data alone, plan another route, such as moving only the changed files by hand.
Choosing a preservation action
Before deploying, decide how you would recover if the deployment replaced more than intended. For form entries, an export to a file you can open is simple and easy to check. For orders or accounts, a full backup may suit better, but only if you have confirmed it can actually be restored. A backup that has never been tested is a hope, not a safeguard. Store the export somewhere separate from the site, and label it with the date and time it was taken. Take it as close to the deployment as you can, so it covers the entries that arrived while you were preparing.
Reconciling counts afterwards
Reconciliation means comparing what you had before with what you have after. Note the entry count for each data type just before deployment, then check the same figures once the change is live. Look at the newest entries as well as the total, since a count can match while recent items are missing or replaced by older ones. Keep the export until you have confirmed nothing is missing, and only then archive it. Name one person to do the comparison, so it does not become everyone’s job and nobody’s.
Deployment data checklist
Copy the blank table into a document your team can edit and fill in one row for each case. A completed row records the information, owner and next step; it does not prove the outcome. Keep it free of passwords, tokens and real client records.
Blank copy
| Data type | Authoritative location | Deployment scope | Preservation action | Reconciliation owner |
|---|---|---|---|---|
Illustrative completed row (hypothetical)
| Data type | Authoritative location | Deployment scope | Preservation action | Reconciliation owner |
|---|---|---|---|---|
| Form entries | Live site | Files and theme only | Export entries before deployment | Site maintainer |
Working through the completed row
The data type is form entries, a single kind of data, so the row stays specific. The authoritative location is the live site, because that is where real visitors submit enquiries and where the current copy sits. The deployment scope is files and theme only, which should leave the database untouched, and the maintainer confirms that no theme options are stored there. The preservation action is an export taken before deployment, giving you a copy to check against or re-import. The reconciliation owner is the site maintainer, one named role who compares counts before and after and decides when the export can be archived.
Common mistakes
- Assuming the tool excludes the live database, which means new enquiries can be replaced without anyone noticing.
- Exporting days before deployment, which leaves the latest entries uncovered.
- Trusting a backup that was never test-restored, which can leave you with nothing usable when you need it.
- Comparing totals only, which can hide missing recent entries behind a matching number.
- Leaving reconciliation unassigned, which means nobody checks and gaps surface weeks later through a complaint.
Where you may not have the answer
You may not know what your deployment tool copies, or where a particular data type is stored. Record the gap in the row as “not confirmed”, treat the data as live and protected until it is confirmed, and name who will ask the developer or host. Do not deploy on a guess.
Your next action
Fill in one row for each data type visitors create on your site, and send any “not confirmed” cells to your developer or host before the next deployment.
If you would like help with this, ask Web Design Davao about website maintenance & security. Arrangements are agreed individually.
How Web Design Davao works
- Enquiries are generally answered within four hours during support hours (Monday to Friday, business hours), with after-hours help for emergency requests. Scope is agreed individually.
- Preventative website maintenance includes keeping plugins up to date and reviewing website code for known vulnerabilities. This reduces exposure to attack; it does not guarantee a site cannot be compromised. See website updates and uptime monitoring.
Frequently asked questions
Why can a staging deployment overwrite enquiries?
The live site keeps receiving form entries, orders or comments while you work on staging. If a deployment copies the whole database from the older staging copy to live, it replaces anything collected in the meantime.
What should I do before deploying?
Choose a preservation action, such as exporting live entries or taking a backup you have checked can be restored. Limit the deployment to files and theme where you can, and ask the developer or host how the tool behaves.
What if a deployment replaces more than expected?
Restore from the backup taken beforehand and re-import the exported entries. Then review the process before trying again, including what the deployment scope was and whether the tool can exclude live data.
Sources and further reading
General reference material on the topics covered above.
- WordPress backups (WordPress Advanced Administration Handbook)
- Updating WordPress (WordPress.org Documentation)