First, a message from our sponsor:
WOULD THE PERSON WHO SUBSCRIBED THIS LIST
TO THE SOUTH AFRICAN SMS SERVER
PLEASE UNSUBSCRIBE?
Thank you.
On Fri, 30 May 1997 02:40:39 -0400 (EDT),
Brock Rozen <brozen(_at_)webdreams(_dot_)com> wrote:
What I use is below. The problem with it is that it takes an awefully long
time (understandably, because of the number of messages I am backing up).
If anybody can think of even minor performance improvements I Could make,
it'd be greatly appreciated.
This is probably not something you haven't thought about already, but
how about saving the day's or week's messages to a temporary file and
then run a daily/weekly cron job to merge in the new file and keep the
1750 newest messages?
:0Wc:Misc/Backup/lock.mail.backup.general
| cat - $BACKGFILE | $FORMAILZ -${maxgbackup}s > $TEMPGFILE ; \
mv -f $TEMPGFILE $BACKGFILE
Then you'd just append to the daily file and put this in the cron job.
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>