user having individual files storing all their mails ... now you could have simply issued a tar -c mail > mail.tar from the /var/spool directory and then a gzip -9 mail.tar ,,, next time if yu go for a
a little faster method would be
for gzip compression
tar -zcf mail_backup.tar.gz /var/spool/mail
for bzip2 compression
tar -jcf mail_backup.tar.bz2 /var/spool/mailinstead of mail_backup.tar.xx yu can specify the full path where yu want the tar to be stored, for e.g.
tar -jcf /home/backup/07Aug03/mail_backup.tar.bz2 /var/spool/mail
put this in a cron job, and your mails will be backed up according to the time yu specify automatically.
--
\|||/
(o o)
--------------------------------ooO-----(_)-Ooo-
| vivek | GPG Key: |
| [EMAIL PROTECTED] | http://exain.net/vike |
|------------------------------------------------|
| Registered Linux User: #305493 |
------------------------------------------------
( _ )
_| | | |_
(___| |___)
_______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
