Database Backup and Restore

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.
11/17/2010 2:04:07 PM
Gravatar
Total Posts 74

Database Backup and Restore

Here's what I want to do:

Take a backup of my mojoPortal DB from site 1, and restore it to the mojoPortal DB from site 2. Just to migrate the content.

Do both versions of mojoPortal need to be the same in order for this to work, or will it be ok if site 1 is 2.5.4, and site 2 is 2.5.5?

Thanks,

Joe

11/17/2010 2:14:26 PM
Gravatar
Total Posts 1200
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Database Backup and Restore

That should work fine. As soon as you restore your 2.3.5.4 database to the 2.3.5.5 site, just run setup.aspx in the target site to update its schema to 2.3.5.5.

I definitely wouldn't recommend restoring a newer database on top of an older one, however. I'd first make sure the target site code was at least up to the version of the source before proceeding.

11/17/2010 2:42:10 PM
Gravatar
Total Posts 2187

Re: Database Backup and Restore

Hi Joe,

You will also want to make sure you copy the contents of the \Data directory over to "site 2" to make sure you get any images and other uploaded content. In addition, you should delete the contents of the \Data\systemfiles and \Data\Sites\[site number]\systemfiles directories.

HTH,
Joe D.

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