[opencms-dev] Export/Import site while keeping the 'unpublished' flags

Mathias Lin | SYSVISION mail at mathiaslin.com
Wed Nov 18 16:38:38 CET 2009


Thanks for the hint. 
I forgot to mention, they're different OpenCms versions. Want to migrate
6.2.3 ->7.5.1.
The db structure of v6 and v7 differs from each other. So DB dump wouldn't
work in my case.



Isaac R. Higgins wrote:
> 
> 
> if you're using MySQL, do a DB dump from the old system and load it into
> the new one and configure your new installation to point to the loaded
> data... I've done it several times without issue.
> 
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org on behalf of Mathias Lin | SYSVISION
> Sent: Wed 11/18/2009 6:24 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Export/Import site while keeping the 'unpublished'
> flags
>  
> 
> I want to migrate a site from one OpenCms server to another, while in the
> old
> server/site, some files have not yet been published.
> Is there any way to migrate the site to a new OpenCms server while keeping
> the published flag for the files (and having the previously published
> files
> available under the online project)?
> 
> Module im/export obviously wouldn't work since all files would get
> published.
> 
> Doing an DB export/import via OpenCms admin and adding the module manually
> into opencms-modules.xml also wouldn't work since after the import into a
> clean OpenCms installation, there wouldn't be any files under the online
> project and all files under the offline project would be unpublished.
> 
> Therefore my question, is it possible at all? If so, any best practice?
> 
> 
> -----
> Mathias Lin
> SYSVISION Ltd., China
> http://www.sysvision.com
> -- 
> 
> 


-----
Mathias Lin
SYSVISION Ltd., China
http://www.sysvision.com
-- 
View this message in context: http://old.nabble.com/Export-Import-site-while-keeping-the-%27unpublished%27-flags-tp26406169p26408411.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list