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.

Blog Module /

Discuss the Blog Module.

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

Recover Deleted Blog


Reply


2 Posts   775 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, 5513 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.