backing up mail server
Hi all,
Please let me know how to backup mail server users login data using shell script. thanks in advance. beljith beljith_p@yaho.co.in |
What mail server are you using? sendmail? postfix? other?
How is your mail server configured for authentication? pam? |
Quote:
We are using sendmail with usual authentication configuration. with regards, beljith beljith_p@yahoo.co.in |
What exactly do you want to backup?
The authentication traces? That would end up in /var/log/mail.log by default. Your syslog configuration might need to be adjusted to capture the appropriate level in the log file. |
Quote:
I would like to backup users data (i prefer automatic backup from server to another machine) and configuration (one time). Please let me know what are the configuration files to backup. sincerely, beljith |
I would use the following commands to first copy the files to backup onto a remote server:
Code:
rsync -ax --delete /etc/mail backup_host:/path/to/backup/folder1 |
Quote:
Thank you for your kind advice. beljith |
All times are GMT -5. The time now is 02:52 PM. |