November Happy Hour will be moved to Thursday December 5th.

Mirroring in EPiServer

Vote:
 

Hello

We want to mirror the database from one environment to another. Can we keep the page id's same when we do the mirroring in all th environments? The problem is if we have set some page id's in one env when we mirror the page ids are changing.

 

Thanks

Rachappa

#49363
Mar 14, 2011 22:55
Vote:
 

I think the page guids are preserved, you could try to save that instead of the ID. I could be wrong though.

If possible, use properties (of type Page) to keep track of pages rather than saving references to pages externally, e.g. in config files. That usually causes less headaches.

#49364
Mar 15, 2011 7:10
Vote:
 

Mangus is correct that the guid based identifier for the page is preserved during mirroring (unless you mirror within the same site or another site in an enterprise setup).

The integer based identifiers are though not preserved, the reason is that it would be hard to preserve the id, e.g. there might already exist a different page with that id in the destination site.

#49413
Mar 16, 2011 13:03
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.