Thanks Vivek, thats sure going to cut the job a little faster !! vivek wrote: > > Sohel Shaheen Mallik wrote: > > 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/mail > > instead 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
-- _______ !\---/! .--. 0-|o_o |-0 ! |:_/ | ! // \ \ (| FSF | ) /'\ _/`\ \___)=(___/ +-------------------------------------------------------+ | Sohel Shaheen Mallik | | Tathya Dot Com Pvt. Ltd. (http://www.tathya.com) | | E-mail: [EMAIL PROTECTED] | | WWW: http://sohel.fateback.com | | ICQ :: 165534383 | | Phone: +91 033 2573 4224/8041 | | Mon-Fri(9:30-6:30 IST) | Sat :: 9:30-1:30 IST | +-------------------------------------------------------+ _______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd