On Fri, 2002-05-10 at 16:26, [EMAIL PROTECTED] wrote:
> By "archive", I mean whether it is easy to put every day's pages to a file
> like data.tar.gz, so that it is easy to move it from one sever to another.
> Does the system have such function?

This is easy to do creating a quick shell script that can be
run from the system's crontab. Something like:

wget -r http://my.midgard.site.com/       # Download site to files
tar zcvf data.tar.gz my.midgard.site.com  # Make a tar package
scp data.tar.gz user@host:/path           # Transfer package to server

This will work best if you utilize Midgard active pages for
handling arguments instead of regular HTTP GET parameters.

(ie. /test/article/howto.html instead of /test?type=article&id=123)

> Rene

/Henri

-- 
Henri Bergius                           [EMAIL PROTECTED]
Consultant Partner                      Tel: +358-20-198 6032
Nemein Oy                               http://www.nemein.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to