LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-22-2007, 03:33 AM   #1
beljith
LQ Newbie
 
Registered: Oct 2007
Location: india, calicut
Posts: 4

Rep: Reputation: 0
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
 
Old 10-22-2007, 08:26 AM   #2
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 109

Rep: Reputation: 16
What mail server are you using? sendmail? postfix? other?

How is your mail server configured for authentication? pam?
 
Old 10-23-2007, 03:07 AM   #3
beljith
LQ Newbie
 
Registered: Oct 2007
Location: india, calicut
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wolfperkins View Post
What mail server are you using? sendmail? postfix? other?

How is your mail server configured for authentication? pam?
Dear Sir,

We are using sendmail with usual authentication configuration.

with regards,
beljith
beljith_p@yahoo.co.in
 
Old 10-24-2007, 09:33 AM   #4
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 109

Rep: Reputation: 16
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.
 
Old 10-25-2007, 01:24 AM   #5
beljith
LQ Newbie
 
Registered: Oct 2007
Location: india, calicut
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wolfperkins View Post
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.
Dear Sir,

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
 
Old 10-26-2007, 07:24 AM   #6
wolfperkins
Member
 
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 109

Rep: Reputation: 16
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
rsync -ax --delete /var/spool/mqueue backup_host:/path/to/backup/folder2
Then tar-up the folders on the remote server or send them to tape or whatever...
 
Old 10-29-2007, 12:40 AM   #7
beljith
LQ Newbie
 
Registered: Oct 2007
Location: india, calicut
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wolfperkins View Post
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
rsync -ax --delete /var/spool/mqueue backup_host:/path/to/backup/folder2
Then tar-up the folders on the remote server or send them to tape or whatever...
Respected Sir,

Thank you for your kind advice.
beljith
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backing Up CVS Server carlosinfl Linux - Server 3 07-18-2007 09:21 PM
Backing Up Server stlyz3 Linux - Software 4 06-04-2005 10:44 PM
Backing Up Server stlyz3 Linux - Enterprise 1 06-04-2005 04:46 PM
Backing up a Slackware server technician Slackware 3 03-09-2005 01:50 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration