Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Sørensen 102 posts 327 karma points
    Nov 09, 2015 @ 16:05
    Dan Sørensen
    0

    Deleting item from trash

    If I had deleted a node from trash, is the node still in the database or is it all gone.

    I want to see which user deleted the node and I haved looked in the log file but I can only find where the node got unpublished to the trash, is it possible to se where the node got deleted from the trash ?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 10, 2015 @ 13:13
    Dennis Aaen
    1

    Hi Dan,

    Perhaps the package called "The Dashboard" could be the solution for you. With this package you will get a summery of the latest activites on the website combined with each editors recent files and other useful information.

    Including who moved items into to the recycle bin. https://our.umbraco.org/projects/backoffice-extensions/the-dashboard/

    The source code is also avertible so maybe you can extend it with the taks that you want. https://github.com/enkelmedia/TheDashboard

    Hope this can be a solution for you.

    /Dennis

  • Per Olsson 47 posts 307 karma points
    Nov 10, 2015 @ 15:31
    Per Olsson
    100

    Have you checked the table umbracoLog (not to be confused with the log4net log file at App_Data\Logs\UmbracoTraceLog.txt)?

    It should log both who moved it to the recycle bin and who emptied it.

    Search for "Audit(AuditType.Delete" in the following file: https://github.com/umbraco/Umbraco-CMS/blob/d50e49ad37fd5ca7bad2fd6e8fc994f3408ae70c/src/Umbraco.Core/Services/MediaService.cs

  • Dan Sørensen 102 posts 327 karma points
    Nov 11, 2015 @ 09:56
    Dan Sørensen
    0

    Hi Dennis nice plugin Ill look in to that and thanks !

    Per- I acctualy looked into the table right before you posted the answer I found this

    table deleted nodes

    so the user said it wasent her, but im pretty sure the first line says you lie :D

    thanks for the replies to the last quistion is it possible to restore ?

    I was pretty sure not so i have already rolled the server back and wee lost some data, but just for another time if it happen agian.

  • Per Olsson 47 posts 307 karma points
    Nov 11, 2015 @ 10:31
    Per Olsson
    0

    I'm afraid it's not possible to restore deleted items.

    Files (in Media, Macro etc.) are removed by fs.DeleteFile physically and nodes are removed from the database completely with "DELETE FROM" :(

Please Sign in or register to post replies

Write your reply to:

Draft