Re: [Dovecot] backing up maildir dovecot files

2013-02-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Feb 2013, Reindl Harald wrote: Thanks, if I did: rsync --force --delete-after -tPrlHpogEAXz /folder/ /backups/newmailstore/ could I then tar up the newmailstore folder with something like tar zcf without messing anything up? keep in m

Re: [Dovecot] backing up maildir dovecot files

2013-02-13 Thread Reindl Harald
Am 13.02.2013 08:20, schrieb Steffen Kaiser: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tue, 12 Feb 2013, David Mehler wrote: > >> Thanks, if I did: >> >> rsync --force --delete-after -tPrlHpogEAXz /folder/ /backups/newmailstore/ >> >> could I then tar up the newmailstore folder w

Re: [Dovecot] backing up maildir dovecot files

2013-02-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 12 Feb 2013, David Mehler wrote: Thanks, if I did: rsync --force --delete-after -tPrlHpogEAXz /folder/ /backups/newmailstore/ could I then tar up the newmailstore folder with something like tar zcf without messing anything up? keep in mi

Re: [Dovecot] backing up maildir dovecot files

2013-02-12 Thread David Mehler
Hello, Thanks, if I did: rsync --force --delete-after -tPrlHpogEAXz /folder/ /backups/newmailstore/ could I then tar up the newmailstore folder with something like tar zcf without messing anything up? Thanks. Dave. On 2/12/13, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Has

Re: [Dovecot] backing up maildir dovecot files

2013-02-12 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 11 Feb 2013, Reindl Harald wrote: Am 11.02.2013 22:37, schrieb Steve Litt: On Mon, 11 Feb 2013 21:47:57 +0100 Reindl Harald wrote: Am 11.02.2013 21:34, schrieb David Mehler: I'm having to migrate servers. Both are dovecot2 systems. I'm w

Re: [Dovecot] backing up maildir dovecot files

2013-02-11 Thread Robert Schetterer
Am 11.02.2013 21:34, schrieb David Mehler: > Hello, > > I'm having to migrate servers. Both are dovecot2 systems. I'm wanting > to copy over my mail store from one system to the other. I'd like to > preserve dates/times of emails. These are maildir setups on both > boxes, I'd like to be as transpa

Re: [Dovecot] backing up maildir dovecot files

2013-02-11 Thread Reindl Harald
Am 11.02.2013 22:37, schrieb Steve Litt: > On Mon, 11 Feb 2013 21:47:57 +0100 > Reindl Harald wrote: > >> >> >> Am 11.02.2013 21:34, schrieb David Mehler: >>> I'm having to migrate servers. Both are dovecot2 systems. I'm >>> wanting to copy over my mail store from one system to the other. >>> I

Re: [Dovecot] backing up maildir dovecot files

2013-02-11 Thread Steve Litt
On Mon, 11 Feb 2013 21:47:57 +0100 Reindl Harald wrote: > > > Am 11.02.2013 21:34, schrieb David Mehler: > > I'm having to migrate servers. Both are dovecot2 systems. I'm > > wanting to copy over my mail store from one system to the other. > > I'd like to preserve dates/times of emails. These a

Re: [Dovecot] backing up maildir dovecot files

2013-02-11 Thread Reindl Harald
Am 11.02.2013 21:34, schrieb David Mehler: > I'm having to migrate servers. Both are dovecot2 systems. I'm wanting > to copy over my mail store from one system to the other. I'd like to > preserve dates/times of emails. These are maildir setups on both > boxes, I'd like to be as transparent to th

[Dovecot] backing up maildir dovecot files

2013-02-11 Thread David Mehler
Hello, I'm having to migrate servers. Both are dovecot2 systems. I'm wanting to copy over my mail store from one system to the other. I'd like to preserve dates/times of emails. These are maildir setups on both boxes, I'd like to be as transparent to the end user as possible. I currently have the

Re: [Dovecot] Backing Up To Windows File Server

2011-12-22 Thread Willie Gillespie
On 12/22/2011 01:30 AM, Willie Gillespie wrote: On 12/13/2011 04:21 PM, Asai wrote: Greetings, Working with dsync and setting up backups to a Windows file server. Problem seems to be that Windows is renaming the dovecot mail files (maildir) to Windows friendly filenames, and losing the Dovecot

Re: [Dovecot] Backing Up To Windows File Server

2011-12-22 Thread Willie Gillespie
On 12/13/2011 04:21 PM, Asai wrote: Greetings, Working with dsync and setting up backups to a Windows file server. Problem seems to be that Windows is renaming the dovecot mail files (maildir) to Windows friendly filenames, and losing the Dovecot name. For example, 1323817925.M36368P32049.triata

Re: [Dovecot] Backing Up To Windows File Server

2011-12-14 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asai said the following on 14/12/11 17:52: > Thanks, Luigi, I may fall back to that. Should you need it, here's the script I use to do it. In my configurations /var/spool/mail contains one dir for each domain and each of that dir contains a maildir

Re: [Dovecot] Backing Up To Windows File Server

2011-12-14 Thread Jerry
On Wed, 14 Dec 2011 10:17:58 -0700 Asai articulated: > On 12/13/2011 5:34 PM, Jerry wrote: > > On Tue, 13 Dec 2011 16:21:09 -0700 > > Asai articulated: > > > >> Working with dsync and setting up backups to a Windows file server. > >> Problem seems to be that Windows is renaming the dovecot mail fi

Re: [Dovecot] Backing Up To Windows File Server

2011-12-14 Thread Asai
On 12/13/2011 5:34 PM, Jerry wrote: On Tue, 13 Dec 2011 16:21:09 -0700 Asai articulated: Working with dsync and setting up backups to a Windows file server. Problem seems to be that Windows is renaming the dovecot mail files (maildir) to Windows friendly filenames, and losing the Dovecot name.

Re: [Dovecot] Backing Up To Windows File Server

2011-12-13 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asai said the following on 14/12/11 00:21: > Working with dsync and setting up backups to a Windows file server. > Problem seems to be that Windows is renaming the dovecot mail files > (maildir) to Windows friendly filenames, and losing the Dovecot na

Re: [Dovecot] Backing Up To Windows File Server

2011-12-13 Thread Duane Hill
On Tuesday, December 13, 2011 at 23:21:09 UTC, a...@globalchangemusic.org confabulated: > Greetings, > Working with dsync and setting up backups to a Windows file server. > Problem seems to be that Windows is renaming the dovecot mail files > (maildir) to Windows friendly filenames, and losin

Re: [Dovecot] Backing Up To Windows File Server

2011-12-13 Thread Jerry
On Tue, 13 Dec 2011 16:21:09 -0700 Asai articulated: > Working with dsync and setting up backups to a Windows file server. > Problem seems to be that Windows is renaming the dovecot mail files > (maildir) to Windows friendly filenames, and losing the Dovecot name. > For example, > 1323817925.M

[Dovecot] Backing Up To Windows File Server

2011-12-13 Thread Asai
Greetings, Working with dsync and setting up backups to a Windows file server. Problem seems to be that Windows is renaming the dovecot mail files (maildir) to Windows friendly filenames, and losing the Dovecot name. For example, 1323817925.M36368P32049.triata.globalchangemultimedia.net,S=225

Re: [Dovecot] Backing up dovecot

2010-11-14 Thread Daniel Luttermann
Spyros Tsiolis wrote on 11/12/2010: > a. How safe will I be backing up dovecot > b. What folders/files to backup It's enough to backup your Dovecot configuration files (usually the folder /etc/dovecot or /usr/local/etc/dovecot) and your SSL certs (if used). You should also backup your mailboxes

[Dovecot] Backing up dovecot

2010-11-12 Thread Spyros Tsiolis
Hello people, Well, what the subjects says :-) I have a dovecot/Horde installation and would like to know : a. How safe will I be backing up dovecot b. What folders/files to backup Let me see now; I am running dovecot v1.2.15 Here's a dump of "dovecot -n" :

Re: [Dovecot] backing up emails

2010-06-29 Thread Noel Butler
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 y

Re: [Dovecot] backing up emails

2010-06-29 Thread Angelo Chen
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

Re: [Dovecot] backing up emails

2010-06-28 Thread Noel Butler
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/mai

Re: [Dovecot] backing up emails

2010-06-27 Thread Angelo Chen
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-log

Re: [Dovecot] backing up emails

2010-06-26 Thread Henrique Fernandes
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, >

[Dovecot] backing up emails

2010-06-26 Thread Angelo Chen
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

2008-11-02 Thread Robert Schetterer
Proskurin Kirill schrieb: > Hello all. > > I read al this tread and still wondering - what FS best to use to > manage up to 1,5Tb of maildir spool and make a near to real time back up of > it? > > Firstly i plan to make it all on FreeBSD with UFS2 and use rsync, but > I never rsync such much of

Re: [Dovecot] Backing Up

2008-11-02 Thread Proskurin Kirill
Hello all. I read al this tread and still wondering - what FS best to use to manage up to 1,5Tb of maildir spool and make a near to real time back up of it? Firstly i plan to make it all on FreeBSD with UFS2 and use rsync, but I never rsync such much of space and files. If using solaris best is

Re: [Dovecot] Backing Up

2008-10-31 Thread mikkel
> [EMAIL PROTECTED] wrote: >> One option that I would prefer if I were to backup the entire store with >> one command would be generating a snapshot of the file system. >> And then rsync or cp that snapshot. That way you’ll always get a >> consistent backup and you won’t have to worry about how lon

Re: [Dovecot] Backing Up

2008-10-31 Thread Timo Sirainen
On Thu, 2008-10-30 at 14:42 -0400, Allen Belletti wrote: > I'd like to add my vote here as well; dbox would be *the* feature that > would make me happy. I'm the guy who asked a few weeks ago about ways to > speed access on our GFS clustered mail environment. > > Meanwhile, I've done some prelimina

Re: [Dovecot] Backing Up

2008-10-31 Thread Ed W
[EMAIL PROTECTED] wrote: > > Rsync seems to be loading information about each file into memory before > comparing the lists of files and doing the actual transfer. > That may be a lot of memory if you have a lot of files. > > I sometimes overcome this by rsync’ing each user or domain one at a time.

Re: [Dovecot] Backing Up

2008-10-31 Thread mikkel
> Dave McGuire wrote: >> On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? >>> I usually just rsync the /home directories to another server. The >>> inital sync >>> can take a while, but it gets faster afte

Re: [Dovecot] Backing Up

2008-10-30 Thread Daniel L. Miller
Stewart Dean wrote: Dave McGuire wrote: On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. The inital sync can take a while, but it gets faster after ther

Re: [Dovecot] Backing Up

2008-10-30 Thread mikkel
> [EMAIL PROTECTED] wrote: >> Just imagine backing the thing up, exporting 60.000.000 SQL queries. >> Not to say importing them again if something should go really wrong. >> Actually I'n not even sure it would be faster. When the index files grow >> to several gigabytes they kind of loose their pur

Re: [Dovecot] Backing Up

2008-10-30 Thread Roderick A. Anderson
[EMAIL PROTECTED] wrote: On Oct 30, 2008, at 2:35 PM, [EMAIL PROTECTED] wrote: Maildir is nice compared to mbox but it really isn’t optimal. In days where IOPS is the most difficult resource to get into your server (and dovecot already using close to nothing in terms of CPU time and memory) havi

Re: [Dovecot] Backing Up

2008-10-30 Thread Ed W
Scott Silva wrote: > Rsync will use more memory on large filesystems, but it is usually lighter in > CPU, network, and IO time. But tar gives you multiple backups. To achieve that > with rsync you need the rbackup script or rsnapshot. > > Also check snapback2 (similar to tools you mentioned ab

Re: [Dovecot] Backing Up

2008-10-30 Thread mikkel
> On Oct 30, 2008, at 2:35 PM, [EMAIL PROTECTED] wrote: >> Maildir is nice compared to mbox but it really isn’t optimal. In days >> where IOPS is the most difficult resource to get into your server (and >> dovecot already using close to nothing in terms of CPU time and >> memory) >> having one file

Re: [Dovecot] Backing Up

2008-10-30 Thread Scott Silva
on 10-30-2008 11:42 AM Allen Belletti spake the following: > I'd like to add my vote here as well; dbox would be *the* feature that > would make me happy. I'm the guy who asked a few weeks ago about ways to > speed access on our GFS clustered mail environment. > > Meanwhile, I've done some prelimi

Re: [Dovecot] Backing Up

2008-10-30 Thread Dave McGuire
On Oct 30, 2008, at 2:35 PM, [EMAIL PROTECTED] wrote: Maildir is nice compared to mbox but it really isn’t optimal. In days where IOPS is the most difficult resource to get into your server (and dovecot already using close to nothing in terms of CPU time and memory) having one file per e-mail

Re: [Dovecot] Backing Up

2008-10-30 Thread Allen Belletti
I'd like to add my vote here as well; dbox would be *the* feature that would make me happy. I'm the guy who asked a few weeks ago about ways to speed access on our GFS clustered mail environment. Meanwhile, I've done some preliminary testing with mbox. As expected, it's vastly faster than the Mai

Re: [Dovecot] Backing Up

2008-10-30 Thread mikkel
Timo Sirainen: > One possibility is to just wait for dbox with multiple-messages-per-file > feature. I can't really say when it'll be ready (or when I'll even start > implementing it), but I know I want to use it myself and some companies > have also recently been asking about it. > Have you cons

Re: [Dovecot] Backing Up

2008-10-30 Thread Timo Sirainen
On Thu, 2008-10-30 at 11:00 -0400, Stewart Dean wrote: > Dave McGuire wrote: > > On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: > >>> What is the best way to do a (server-side) backup of all mail in a > >>> user's mail? > >>> > >> I usually just rsync the /home directories to another server. The

Re: [Dovecot] Backing Up

2008-10-30 Thread Stewart Dean
Dave McGuire wrote: On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. The inital sync can take a while, but it gets faster after there is a base to work

Re: [Dovecot] Backing Up

2008-10-30 Thread Ken A
Calvin Gordon wrote: I use the tar/bzip method, and have been wondering about the rsync. All my users have system accounts on the dovecot server, and use Maildir format. If i rsync the mail to another box where the users do not have system accounts, will the ownerships/ permissions etc. be go

Re: [Dovecot] Backing Up

2008-10-30 Thread Calvin Gordon
I use the tar/bzip method, and have been wondering about the rsync. All my users have system accounts on the dovecot server, and use Maildir format. If i rsync the mail to another box where the users do not have system accounts, will the ownerships/ permissions etc. be goofed up ? Correctly,

Re: [Dovecot] Backing Up

2008-10-29 Thread Sotiris Tsimbonis
Scott Silva wrote, On 10/30/2008 12:34 AM: on 10-29-2008 3:18 PM Dave McGuire spake the following: On Oct 29, 2008, at 5:32 PM, Arkadiusz Miskiewicz wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another serv

Re: [Dovecot] Backing Up

2008-10-29 Thread Scott Silva
on 10-29-2008 3:18 PM Dave McGuire spake the following: > On Oct 29, 2008, at 5:32 PM, Arkadiusz Miskiewicz wrote: > What is the best way to do a (server-side) backup of all mail in a > user's mail? I usually just rsync the /home directories to another server. The inital sync

Re: [Dovecot] Backing Up

2008-10-29 Thread Scott Silva
on 10-29-2008 2:46 PM Neil spake the following: > On 29 Oct 2008, at 16:02, Scott Silva wrote: >> on 10-29-2008 12:47 PM Dave McGuire spake the following: >>> On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: > What is the best way to do a (server-side) backup of all mail in a > user's mail?

Re: [Dovecot] Backing Up

2008-10-29 Thread Dave McGuire
On Oct 29, 2008, at 5:32 PM, Arkadiusz Miskiewicz wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. The inital sync can take a while, but it gets faster after there is a base to work from. ..

Re: [Dovecot] Backing Up

2008-10-29 Thread Neil
On 29 Oct 2008, at 16:02, Scott Silva wrote: on 10-29-2008 12:47 PM Dave McGuire spake the following: On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. T

Re: [Dovecot] Backing Up

2008-10-29 Thread Arkadiusz Miskiewicz
On Wednesday 29 of October 2008, Dave McGuire wrote: > On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: > >> What is the best way to do a (server-side) backup of all mail in a > >> user's mail? > > > > I usually just rsync the /home directories to another server. The > > inital sync > > can take a w

Re: [Dovecot] Backing Up

2008-10-29 Thread Scott Silva
on 10-29-2008 12:47 PM Dave McGuire spake the following: > On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: >>> What is the best way to do a (server-side) backup of all mail in a >>> user's mail? >>> >> I usually just rsync the /home directories to another server. The >> inital sync >> can take a wh

Re: [Dovecot] Backing Up

2008-10-29 Thread Dave McGuire
On Oct 29, 2008, at 3:42 PM, Scott Silva wrote: What is the best way to do a (server-side) backup of all mail in a user's mail? I usually just rsync the /home directories to another server. The inital sync can take a while, but it gets faster after there is a base to work from. ...and it

Re: [Dovecot] Backing Up

2008-10-29 Thread Scott Silva
on 10-29-2008 12:25 PM Neil spake the following: > What is the best way to do a (server-side) backup of all mail in a > user's mail? > > I don't think I'm doing anything weird as far as configs go; here's > dovecot -n if it helps: > > # 1.1.4: /etc/dovecot/dovecot.conf > protocols: imaps > listen

[Dovecot] Backing Up

2008-10-29 Thread Neil
What is the best way to do a (server-side) backup of all mail in a user's mail? I don't think I'm doing anything weird as far as configs go; here's dovecot -n if it helps: # 1.1.4: /etc/dovecot/dovecot.conf protocols: imaps listen: *, [::] ssl_cert_file: /etc/ssl/dovecot/cert.pem ssl_key_fi

[Dovecot] Backing up mail?

2007-06-04 Thread Knute Johnson
My mail server is running on a Fedora FC5 box. I need to move the mail server to another computer and so I need to back up my user's mail and move it. I have found mail in /var/spoo/mail/[users] and in their home directories there is a 'mail' directory. All users have an 'Inbox' file that is