On Thu, 2004-12-30 at 12:55, Charles Steinkuehler wrote:
> Mike Noyes wrote:
> > Mirroring is a little more complex to
> > setup, but easier to maintain. I need to write up a set of instructions.
> > I'll probably use basic to make sure I have the steps correctly
> > documented. Is the mirror script in leaf crontab?
> 
> The mirror scripts are in the leaf user's home directory, called by crontab

Charles,
Thanks for the information. :-)

> <leaf crontab>
> # m h dom mon dow command
> 
> # Sync Project directory
> # 45 2 * * * /home/leaf/bin/sync-www

We'll need to setup an exclude list for some configuration files.

> # Sync CVS directory
> # 45 3 * * * /home/leaf/bin/sync-cvs
> </leaf crontab>
> 
> The cvs sync basically rsyncs from a remote server that has enough bandwidth 
> to download the whole CVS tarball nightly.
> 
> The www sync first rsync's the site content from SF, then rebuilds the local 
> mysql database from the nightly leaf sql database dump (which it expects to 
> find in mirror/leaf.sql).

The mysqldump is now in phpwebsite/mirror/leaf.sql

We'll need to add a site specific table import after the mysql import of
leaf.sql. The leafbranch_sites table has hard coded full paths in it.
:-(

-- 
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to