Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Teviot on June 03, 2006, 07:44:53 AM

Title: mirroring on SME Server 7.0rc2
Post by: Teviot on June 03, 2006, 07:44:53 AM
I can't seem to find much on how to mirror from the web to my SME server.  I want to mirror http://mirror.contribs.org/smeserver/releases/ to a ibay on my server and need help to set this up.

I also want to set times that this will happen (e.g. 0200 - 1000 daily)

I want to do more with SME an would like to do it at a local level and try to cut down on bandwidth used on the internet.

Can anyone help me with this?

regards
Adrian
Title: mirroring on SME Server 7.0rc2
Post by: jcoleman on June 03, 2006, 03:18:45 PM
Try "man rsync"

This is pretty easy to do.

-jeff
Title: mirroring on SME Server 7.0rc2
Post by: Teviot on June 04, 2006, 05:04:46 AM
Thank you Jeff but that doesn't help me much.

I am linux irrliterate.  I'm trying to learn.  Could you please give me more details

Adrian
Title: mirroring on SME Server 7.0rc2
Post by: Teviot on June 05, 2006, 02:30:50 AM
Anyone perpared to help???

Anyone ???
Title: mirroring on SME Server 7.0rc2
Post by: egerards on June 05, 2006, 09:56:50 PM
I would consider using 'wget' scheduled by cron.

The command would be something like this:

wget --directory-prefix=/home/e-smith/files/ibays/IBAYNAME/[files|html]/ --no-host-directories --recursive --timestamping http://mirror.contribs.org/smeserver/releases/

For more wget details, please see 'wget --help' or 'man wget'.