LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Backup User Mail (https://www.linuxquestions.org/questions/linux-newbie-8/backup-user-mail-458306/)

shipon_97 06-25-2006 10:01 PM

Backup User Mail
 
Dear Friend ,

I am new to use Mail server . I have a Linux REdhat Mail server Which has 500 (let) User in my Linux Mail server . And It has one HDD (40GB) and it contains Two Partitions (root(/),Swap and /home parttition) .

I think this HDD can get crashed in any time . Then my User's Mail can be lost . So i think I need to backup these mails in another HDD. Is there any solution to remove this problem so that i can backup user's mail in another HDD safely .

Thx........

jschiwal 06-25-2006 10:37 PM

You could get an identical sized drive, and clone the first drive. Then replace the old one with the clone.

You can use the dd command to copy from one device to another. So it might look like "dd if=/dev/hda of=/dev/hdb bs=256". I just made up the block size, maybe another value would be more efficient. Also, use the "fdisk -l" command to determine what devices the drives actually use.

I am recommending replacing the drive, because if it is going bad, you will lose everything on the drive, so its best to replace it as soon as possible.


All times are GMT -5. The time now is 12:59 AM.