Preloading alternative content during install
Posted: Sat Oct 04, 2008 1:16 am
Is there a recommended way of generating an alternative 'extra.sql' file from a CMS install that I can use for future installs ?
My daughter has constructed a sample site, which includes pages, css and templates. I would like to be able to load this in place of the current content that gets installed when one selects the 'load examples etc' during an install.
I am hoping that there might be a tool that I can use to dump the database in the correct format i.e. adding the {cms_prefix}, changing \n\r and quotes etc. If there isn't would it be appropriate to simply 'pg_dump' some of the tables in sql format i.e. -a -d. and replace the extra.sql file or parts of it ?
Any suggestions ?
My daughter has constructed a sample site, which includes pages, css and templates. I would like to be able to load this in place of the current content that gets installed when one selects the 'load examples etc' during an install.
I am hoping that there might be a tool that I can use to dump the database in the correct format i.e. adding the {cms_prefix}, changing \n\r and quotes etc. If there isn't would it be appropriate to simply 'pg_dump' some of the tables in sql format i.e. -a -d. and replace the extra.sql file or parts of it ?
Any suggestions ?