|
|
UNIX BACKUP |
|
Your Unix mail spool file from /var/spool/mail may be restored from ITSM backups. However, before you attempt to restore from ITSM backup you should check the /var/spool/mail/.snapshot directory. Hourly and nightly snapshots of the mail server spool are available there.
flora:~> cd /var/spool/mail/.snapshot flora:/var/spool/mail/.snapshot> ls -l total 1792 drwxrwsrwt 3 root root 110592 Dec 13 16:00 hourly.0 drwxrwsrwt 3 root root 110592 Dec 13 12:00 hourly.1 drwxrwsrwt 3 root root 110592 Dec 13 08:00 hourly.2 drwxrwsrwt 3 root root 110592 Dec 13 03:59 hourly.3 drwxrwsrwt 3 root root 110592 Dec 12 19:59 hourly.4 drwxrwsrwt 3 root root 110592 Dec 12 16:00 hourly.5 drwxrwsrwt 3 root root 110592 Dec 13 00:00 nightly.0 drwxrwsrwt 3 root root 110592 Dec 12 00:00 nightly.1
Each timestamp indicates when that particular directory snapshot was taken. You may cd into any of these .snapshot directories and copy your mail spool file to another location. If you want to merge messages from your recovered mail file into your active mail file or mail folders, we recommend using your favorite mail program (e.g., mutt or pine). It's generally safer that way.
If what you are looking for is not found in /var/spool/mail/.snapshot, you may then recover a copy of your mail spool file from ITSM backup by following the procedure below.
dsm &
Once the ITSM GUI appears, click on the "Restore files and directories to your system" button.
|
For corrections or comments, please send email to unix-admin. Please include this URL so we know to which page you're referring. Last modified: 14 December 2005 |