Patent attributes
A system and method for restoring a web site previously defined with user customizations by an intranet portal application. A backup agent receives a restore request for a backed up web site. Restored data is used by the intranet portal application in order to rebuild the web site according to a predetermined template. Use of the template results in a rebuilt database which does not match the database originally backed up. For one or more identifiers being added, one or more new globally unique identifiers (GUIDs) are generated by the application to replace the identifiers. The backup agent queries the application to receive new GUIDs for a selected level of the hierarchy of the web site. The backup agent updates a mapping of IDs with the new GUIDs. The backup agent uses the mapping to identify differences between the rebuilt database and the database represented by the backup copy of the database. Based on identified differences, database operations are used to modify the rebuilt database so that it conforms to the originally backed up database.