• I saw a previous Forum conversation about how to “Delete a snippet in backend”. This forum showed me the format used to store the snippets (in the database library), but it did not show me DELETED snippets or where they go when deleted.

    I accidentally deleted a SNIPPET packet that I do not have as a back-up. I cannot recreate it. Is there any way to UNDELETE or RESTORE a deleted snippet?

    Thank you in advance.
    Donald

Viewing 2 replies - 1 through 2 (of 2 total)
  • They are immediately deleted. There is no trashing system for this plugin. A snippet is just active and inactive. If you delete it you can’t get it back.

    You may find the deleted record back from some backup copy of your database by searching deleted field and using an SQL-command to get it back to the working database.

    Make next time a security copy by using the “Clone” functionality.

    Plugin Author Shea Bunge

    (@bungeshea)

    Yes, unfortunately there isn’t a trash/recovery system built-in to the plugin.

    I’m sorry to hear that you accidentally deleted a piece of code @djmichaud, but if you have a database backup then there’s a way to recover the snippet from that.

    I’ll definitely look into adding a trash system in a future version of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to retrieve a deleted Snippet.’ is closed to new replies.