Trash Management Questions #1936
-
|
Hi @tea-artist , my team has a bunch of trash related questions and I figured I'd ask them all here for easy cross-reference: It seems like all delete operations on records just move the record into the corresponding table's "trash". As far as we can tell items remain in trash indefinitely. Currently, it seems the only way to empty the trash is through the Teable UI.
If that's not possible, could at the bare minimum an auto-purge policy be enabled on a base level? Or space level?
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Hi @dkindlund Space trash
List space trash
Permanent delete Base trash
List Base trash Permanent delete Table trash
Empty them all Table resouece trashInclude records fields views
Empty them all Record historyThe record modify history
Auto cleanAt present, we haven't implemented any scheduled clearing of the trash. but we will add this feature in the future. |
Beta Was this translation helpful? Give feedback.
-
|
Update: I've described more details of the problem here: As well as the subsequent PR for the fix, here: |
Beta Was this translation helpful? Give feedback.
-
|
Hi @dkindlund Cleanup method: background scheduled task with batch processing (100 records per run) Currently, this cleanup policy operates at the instance level |
Beta Was this translation helpful? Give feedback.






Hi @dkindlund
We've recently implemented an automatic trash purge feature. Here's how it works:
Automatic Trash Cleanup
Default retention period: 30 days
Scan frequency: every 1 hour
Cleanup method: background scheduled task with batch processing (100 records per run)
Behavior for existing vs. new trash items:
Resources trashed after this feature is available: retention is calculated based on each resource's own deletedTime.
Resources already in trash before upgrading: the retention clock starts from when you first upgrade to the version that includes this feature.
Currently, this cleanup policy operates at the instance level