RSS

“Post Snippets” WordPress plugin backup

21 Dec

I use the Post Snippets plugin on some of my WordPress website. I made a change on one of them and made a mistake and wanted to get back the original content. The plugin has a Export feature but I hadn’t used it to make a backup recently. But I had done SQL and files backups of the server. So where in those files would I find the Post Snippets content?

I expected to find a new table in the SQL backup but there wasn’t one. I didn’t expect to find a file in the plugin’s folder and sure enough it wasn’t there. After a closer look I found the content within WordPress’s wp_options table I found a row. It starts:

(92109,’post_snippets_options’,

I was able to copy out the text I wanted from there, unescape it, i.e. change \” to “, and paste it back in and restore my lost text.

Advertisements
 
Leave a comment

Posted by on December 21, 2013 in wordpress

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: