How can I restore a previous version of the mysite pages?

At some point during customisation, we made some major changes to the pages (particularly default.aspx) that we want to revert but I can't find the pages in either SPD or via all site content to revert them.



Go to Site page Location -> Click on PAGE ribbon -> Select VERSIONS option -> you will get ALL VERSIONS of the PAGE -> Then Click on MODIFIED LINK (Which version you want to RESTORE) and RESTORE Version.

| improve this answer | |

There is one way you can achieve this. You can View/Restore a particular webpage which either in Pages Library/SitePages as follows:


  • ListId : ID of pages library or Site pages
  • ItemId : ID of particular page

Once you get the versions, you can select a particular version and restore it.

Assumption: You might have enabled versioning settings for the Page Library.

| improve this answer | |
  • Any idea how I can get the ID of the page, given that it doesn't appear in site pages for the my sites? – Ben Nov 5 '12 at 13:46
  • To view the ID of the particular page, modify the view (/SitePages/Forms/AllPages.aspx) and set the 'ID' checkbox. – Joyal4 Nov 6 '12 at 20:28
  • But the My Site pages don't appear in all site pages - otherwise I wouldn't have this problem! – Ben Nov 7 '12 at 10:57

You can restore a particular page by doing this:


The way to get the ListId is to call _spPageContextInfo

I would just go to the page, open console, and run _spPageContextInfo

You would see ListId, ListItemId, etc

| improve this answer | |

you can also restore a backup of the SharePoint database taken the day before you have made the changes, connect it to your SharePoint test/dev environment and then retrieve the needed page.


| improve this answer | |
  • Database restore wouldn't be an available option in SharePoint Online. While it is possible to request a restore from support, that would revert the entire site collection. – Zach Aug 26 '16 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.