Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Recover Deleted Blog


Go to End


2 Posts   1630 Views

Avatar
J4m3s

Community Member, 2 Posts

21 December 2011 at 2:16pm

Edited: 21/12/2011 10:53pm

Hi All

I have a client who thought they were deleting a Blog entry but has accidentally deleted the entire blog.

I've had a look in the database and the Blog Entries are still there, is there a way to recover the Blog???

Any help would be much appreciated.

Thanks
James

Avatar
Willr

Forum Moderator, 5523 Posts

9 January 2012 at 7:20pm

Hopefully you can still see the page when you select 'show all including deleted pages' - https://skitch.com/willrossi/gadua/silverstripe-cms-pages

If you can't, then you'll need to fetch it from the database. Dig through BlogHolder_versions for the correct ID of the deleted page and restore the records from BlogHolder_versions, BlogTree_versions, Page_versions, SiteTree_versions for which the ID matches back to their respective tables BlogHolder, BlogTree etc.