# How to recover a deleted information

**URL:** https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824
**Category:** System Administrator
**Created:** [January 13, 2023, 7:31am UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824 "2023-01-13T07:31:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [January 13, 2023, 7:31am UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824/1 "2023-01-13T07:31:55Z")

</div>

Hello, i just recently was called to the attention of once a user delete an item it go off totally from the system amd has no log of like retrieving it back, i know about having the active and deactivate button, but in a case where a user delete a record by mistake. This cant be recover

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 13, 2023, 8:40am UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824/2 "2023-01-13T08:40:14Z")

</div>

No deletion is deletion. But we have confirmation and most of the record can not be deleted because of foreign key or workflow constraint.  
If it is a problem you can still forbid the deletion with the [access rights](https://docs.tryton.org/projects/server/en/latest/topics/access_rights.html).

---

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [January 13, 2023, 10:38am UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824/3 "2023-01-13T10:38:39Z")

</div>

Yes i had to move to access right to stop it from happening next time again, but i am looking at maybe adding this to the development, becase keeping logs of deleted file thst can still be recover would be good.

Which means table would now have deleted at timestripe.

Also looking at the event of keeping records for each each users that update a column not just the regular creation at and write at this time around having a log of each user edit and changes.

---

<div class="post-metadata">

### Author: ![nicoe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/nicoe/32/2880_2.png) [@nicoe](https://discuss.tryton.org/u/nicoe)
#### Post date: [January 13, 2023, 11:01am UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824/4 "2023-01-13T11:01:46Z")

</div>

You can activate historization on any Model: [Models — Tryton server](https://docs.tryton.org/projects/server/en/latest/ref/models.html#trytond.model.ModelSQL._history)

It would allow you to find the information your looking for.

---

<div class="post-metadata">

### Author: ![adeseg99](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@adeseg99](https://discuss.tryton.org/u/adeseg99)
#### Post date: [January 13, 2023, 12:06pm UTC](https://discuss.tryton.org/t/how-to-recover-a-deleted-information/5824/5 "2023-01-13T12:06:38Z")

</div>

I am reading this now, would dig more on it thanks
