Re: [Dovecot] backing up emails
On Tue, 2010-06-29 at 22:28 +0800, Angelo Chen wrote: > Hi Noel, > > > I use exim4 and it delivers right into ~/.Maildir, so I assume /home contains > all the emails, right? why we need to back up /etc and /var/mail? Thanks, > No real experience with Exim, last time I looked at it was 10 years ago, but if that's where it stores all received messages, read or new-unread, then /home it is. /etc contains most of your system config stuff, always good idea to back it up, if this is a server it should have no GUI crap installed so it should be fairly small, and /var/vmail was an example only, just like i'd say /var/www if this was a web server, or /var/named if DNS server. /var/mail /var/vmail etc is not applicable to you as you use system and not virtual users. Cheers > > > > You're using system accounts so yes, but I'd hope that if server is on > > any importance you would be doing more than just backing up that. > > /home /etc /var/mail or where ever your MTA stores its mail before users > > get it should be backed up daily at a bare minimum. > > > > If this is a server of importance you should be doing nightly tar > > backups of at least /etc, once a week a full rsync of the entire box, > > and a nightly rsync of your mail store, in your case /home and /var/mail > > (or /var/spool/postfix if you're using that), and use that on a rolling > > 7 day basis... providing you have the space for it on your backup > > server. > > > > Cheers > > >
Re: [Dovecot] backing up emails
Hi Noel, I use exim4 and it delivers right into ~/.Maildir, so I assume /home contains all the emails, right? why we need to back up /etc and /var/mail? Thanks, Angelo > > >> auth default: >> passdb: >>driver: pam >> userdb: >>driver: passwd >> > > You're using system accounts so yes, but I'd hope that if server is on > any importance you would be doing more than just backing up that. > /home /etc /var/mail or where ever your MTA stores its mail before users > get it should be backed up daily at a bare minimum. > > If this is a server of importance you should be doing nightly tar > backups of at least /etc, once a week a full rsync of the entire box, > and a nightly rsync of your mail store, in your case /home and /var/mail > (or /var/spool/postfix if you're using that), and use that on a rolling > 7 day basis... providing you have the space for it on your backup > server. > > Cheers >
Re: [Dovecot] backing up emails
On Mon, 2010-06-28 at 14:27 +0800, Angelo Chen wrote: > auth default: > passdb: > driver: pam > userdb: > driver: passwd > You're using system accounts so yes, but I'd hope that if server is on any importance you would be doing more than just backing up that. /home /etc /var/mail or where ever your MTA stores its mail before users get it should be backed up daily at a bare minimum. If this is a server of importance you should be doing nightly tar backups of at least /etc, once a week a full rsync of the entire box, and a nightly rsync of your mail store, in your case /home and /var/mail (or /var/spool/postfix if you're using that), and use that on a rolling 7 day basis... providing you have the space for it on your backup server. Cheers
Re: [Dovecot] backing up emails
Hi, this is the output of dovecot -n, backing up /home directory in the hard disk enough ? Thanks, Angelo # 1.1.4: /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 auth default: passdb: driver: pam userdb: driver: passwd On Jun 27, 2010, at 11:13 AM, Henrique Fernandes wrote: > It depens where dovecot are storing the email! > > Do you know where is it ? > > > post the output of > > # dovecot -n > > []'sf.rique > > > On Sat, Jun 26, 2010 at 8:35 PM, Angelo Chen wrote: > hi, > > i have a ubuntu server running Dovecot imap, how to backup everybody's email? > rsync /home is enough? Thanks, > > Angelo >
Re: [Dovecot] backing up emails
It depens where dovecot are storing the email! Do you know where is it ? post the output of # dovecot -n []'sf.rique On Sat, Jun 26, 2010 at 8:35 PM, Angelo Chen wrote: > hi, > > i have a ubuntu server running Dovecot imap, how to backup everybody's > email? rsync /home is enough? Thanks, > > Angelo
[Dovecot] backing up emails
hi, i have a ubuntu server running Dovecot imap, how to backup everybody's email? rsync /home is enough? Thanks, Angelo