On Mon, 2005-01-24 at 07:37, Mike Noyes wrote:
> On Mon, 2005-01-24 at 07:23, Shaun Murray wrote:
> > On 24 Jan 2005, at 15:23, Mike Noyes wrote:
> > > Shaun,
> > > None of the settings needed to mirror a website should be stored in the
> > > database. The branch_sites table (branchDir, branchHttp) is already a
> > > problem.
> > >
> > > Try mirroring phpWebSite 0.10.0, and you'll see what I'm concerned
> > > with.
> > >
> >
> > Mirror?
> >
> > Didn't know we could mirror.
>
> Shawn,
Shaun,
Sorry for the spelling error. :-(
> I can give you the instructions for this, but it's not a simple task
> anymore.
Master:
Setup a periodic mysqldump.
Mirror:
Modify conf/config.php, conf/branch/branchname.php,
branchname/index.php, and branch_sites table.
Setup rsync to exclude modified files, and create custom
branch_sites table.
Cron rsync remote site, import latest mysqldump, import
custom branch_sites, and you should be operational.
--
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
|