> For the complete documentation index, see [llms.txt](https://docs.whalesync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.whalesync.com/sync/features/additional-features/delete-protection.md).

# Delete protection

Turn on Delete Protection in a table's Advanced settings to stop Whalesync from deleting records there while every other change keeps syncing two-way.

Sometimes you're syncing data that you really want to ensure teammates don't accidentally delete (e.g. CRM data).

For these cases, you can set the table in Whalesync to not delete records.

![](https://docs.whalesync.com/_astro/Edit%204.Bp2yZgZd_ZBDa7g.webp "Delete protection means Whalesync will not delete records in HubSpot even with 2-way sync turned on")

### How it works

If you turn off deletes for a table, Whalesync will continue to 2-way sync all changes to that table _except_ deletes.

### How to turn off deletes in table settings

1. Open your sync
2. Select the desired table
3. Click the **Advanced settings** tab
4. Set the **Delete Protection** field to enabled
5. Save changes

> [!WARNING]
> Do not forget step 5 or your table setting will not be saved!
