Restoring Deleted Records
In this article we cover where deleted records go, how long they stay there, how to bring them back, and what Cubrel does when a record can't come back exactly as it was.
Deleted records go to the bin
Deleting a record, one at a time or many at once, doesn't remove it for good. It moves to the bin, and its line items, meeting attendees, and links to other records go with it. Records it was linked to stay where they are.
Deleted records stay in the bin for 30 days by default, then they're deleted permanently, together with their images and files. An admin can set this anywhere up to 90 days under Workspace > Data & Security > Data Retention. See Data Retention.
A few things to know:
- Users and invites don't go to the bin. Deleting them is final; see Managing Users.
- Records in the bin don't count toward your plan's record limit.
- A bulk delete stays together. Deleting 40 records at once shows up as one entry that you can expand to see the 40 records. You can restore all of them at once, or pick single records.
Restoring from a module's Recycle Bin
On Pro and Enterprise plans, every module list has a Recycle Bin in its actions menu (the small arrow next to Create). It opens that module's deleted records, with a search box. Select the rows you want back and click Restore.
Anyone whose role may delete records in that module can open its Recycle Bin and restore records, including ones someone else deleted. Deleting permanently is left to admins, on the Bin page.
The Bin page (admins)
Admins find every deleted record of every module under Workspace > Data & Security > Bin, on every plan. There you can:
- filter by module and by who deleted the record, and search by name;
- see how many days each entry has left;
- Restore an entry, or select several and use Restore selected;
- Delete permanently one entry, or several with Delete selected permanently;
- Empty bin to delete everything in it permanently.
Permanent deletion can't be undone.
When a record can't come back exactly as it was
A lot can change while a record sits in the bin. Cubrel keeps your data consistent when you restore it:
- Removed fields: values of fields an admin deleted in the meantime are dropped.
- Links to records that are gone are left out.
- Links that were taken: if the other record of a one-to-one link is now linked to something else, or a child record now belongs to another parent, the link isn't restored automatically.
- An owner who can't own it anymore: if the owner was deactivated or can no longer view the module, you become the owner.
The message after restoring lists what was left out or changed.
Choosing what happens (Pro and Enterprise)
On Pro and Enterprise, Cubrel shows a Before restoring step whenever something can't come back as it was, so you decide instead of the defaults above:
- a link whose other side was taken can be moved back to the restored record, or skipped;
- a child record that got a new parent can be moved back, or left where it is;
- a missing owner can be replaced by you (Assign to me) or by anyone else who may own records in the module.
Links to records that are gone and values of removed fields are listed for your information. When nothing conflicts, you just confirm.
When nothing is restored
A restore is all or nothing. If even one record can't come back, for example because another record now uses its quote number, nothing is restored and Cubrel tells you why. A restore that would take you over your plan's record limit is refused as a whole as well.
What a restore doesn't do
Restoring puts the records back, makes them findable in search again, and writes one entry to the audit trail. It doesn't start workflows or automatic conversions, and it sends no notifications.
In short
| Question | Answer |
|---|---|
| Is a deleted record gone for good? | No, it stays in the bin for 30 days by default (up to 90) |
| Where do I restore records? | The module's Recycle Bin (Pro and Enterprise), or Workspace > Data & Security > Bin for admins |
| Who can restore? | Admins, and anyone who may delete records in the module (from its Recycle Bin) |
| Who can delete permanently? | Admins, on the Bin page |
| Do users go to the bin? | No, deleting a user is final |
| What if a link or owner changed in the meantime? | Cubrel keeps data consistent; on Pro and Enterprise you choose what happens |
| Does restoring run workflows? | No, and it sends no notifications |