Site backup/restore/move

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/27/2008 11:22:47 AM
Gravatar
Total Posts 31

Site backup/restore/move

Hi Joe,

I am developing components that tie into mojo and I am now using mojo in production on my corporate server.  I want to do a snapshot of production & move it to my development servers.  I am guessing that I will have to do the following:

backup prod db and move it/restore to dev

copy all files from Data\Sites\#   to dev

Is there anything else that I would need to do?  (assuming a default install on IIS w/ SQL2005)

 

Thanks,
Chris

3/28/2008 12:50:15 PM
Gravatar
Total Posts 18439

Re: Site backup/restore/move

Hi Chris,

That sounds about right to me. As long as the relative url is the same structure on both it should mostly work correctly on the dev machine, but be careful as some links in the content may have fully qualified urls in the content and its possible you'd click a link and end up back on production without noticing it.

Currently in mojoPortal the editor is configured to use releative urls for links internal to the site, and these are more portable, but some features like the blog must use fully qualified urls for links and images otherwise the links and images won't be correct in the outbound feeds. Some previous versions of mojoPortal may have used fully qualified urls more generally so depending on your upgrade history its ossible you have some fully qualified url used in your content.

There are some folders which may be best not to copy.

Sites/[SiteID]/systemfiles
Sites/[SiteID]/index

are probably ones I would leave out. After the site is up on the dev machine, do a search and it will rebuild the search index.

Hope it helps,

Joe

3/28/2008 12:54:45 PM
Gravatar
Total Posts 18439

Re: Site backup/restore/move

When I said leave those folders out, I meant leave their content out from copying, but make sure the folders are there on the dev machine.

Best,

Joe

3/28/2008 1:09:31 PM
Gravatar
Total Posts 31

Re: Site backup/restore/move

Excellent, thanks for the feedback.  I have already done the db move but left the files.  I'll try the file move minus the 2 directories you mentioned & report back.

 

thanks again.

Chris

You must sign in to post in the forums. This thread is closed to new posts.