Re: create a backup of an online server

2012-01-03 Thread Gregory Edigarov
On Wed, 28 Dec 2011 08:59:40 +0100 Vitali wrote: > Wouldn't you consider AMANDA http://www.amanda.org > I had been using it for long in my previous support engineering life. > It's nice. Yeah, AMANDA is great, but seems to be an overkill when you just need to backup one or 2 servers, or your c

Re: create a backup of an online server

2011-12-28 Thread Stuart Henderson
You were using Dovecot weren't you? If you're more interested in protecting against server problems than end-user error you might look into http://wiki2.dovecot.org/Tools/Dsync On 2011-12-28, Wesley M. wrote: > In fact, > -1- i want to copy the mail server system to another machine. I suppose >

Re: create a backup of an online server

2011-12-28 Thread Nick Holland
On 12/28/2011 11:30 AM, Darrin Chandler wrote: This sounds like a job for rsnapshot: essentailly point-in-time snapshots on top of rsync, using hard links of unchanged files for space and speed. With some additional shell scripting + cron you could have a really nice scheme to keep 15 minute

Re: create a backup of an online server

2011-12-28 Thread Wesley M.
In fact, -1- i want to copy the mail server system to another machine. I suppose rsnaphot or a dump/restore in single user? is a good choice... -2- And keep emails synchronized between the 2 mail server using rsync, this step is ok. Thank you very much for all your replies. Cheers, Wesley. O

Re: create a backup of an online server

2011-12-28 Thread Darrin Chandler
On Wed, Dec 28, 2011 at 11:00:52AM -0500, Nick Holland wrote: > However, backing up an IMAP mail store daily leaves a lot to be > desired. Most likely time for someone to accidentally delete the > important mail they have been waiting for is probably not too long > after it arrives. Depending (mos

Re: create a backup of an online server

2011-12-28 Thread Nick Holland
As always...you design your backup for your application. Mail servers are particularly tricky, as the data the contain tends to change minute-by-minute, and they are prone to both hardware failure, administrator error AND user error. A user who nukes their mail store will want their data rest

Re: create a backup of an online server

2011-12-28 Thread Stuart Henderson
On 2011-12-28, L. V. Lammert wrote: > mysqldump will provide a 'known state' of the database, which will make a > restore possible; backing up files will only work if you shut down mysql > during the backup process - something not realistic for a production > server. see mysqlhotcopy(1). there ar

Re: create a backup of an online server

2011-12-28 Thread L. V. Lammert
On Wed, 28 Dec 2011, Wesley M. wrote: > Hi, > I want to backup our mailserver(4.7) in production. > I read : > http://www.openbsd.org/faq/faq10.html#DupFS > Much simpler to: > Do a mysqldump and direct to a known backup location > Use rsnapshot to backup all of your data (including the email syst

Re: create a backup of an online server

2011-12-28 Thread Vitali
On Wed, Dec 28, 2011 at 8:51 AM, Gregory Edigarov wrote: > On Wed, 28 Dec 2011 10:06:14 +0400 > "Wesley M." wrote: > >> Hi, >> I want to backup our mailserver(4.7) in production. >> I read : >> http://www.openbsd.org/faq/faq10.html#DupFS >> >> Can i do this wd1(my backup >> disk) : >> >> mount /d

Re: create a backup of an online server

2011-12-27 Thread Gregory Edigarov
On Wed, 28 Dec 2011 10:06:14 +0400 "Wesley M." wrote: > Hi, > I want to backup our mailserver(4.7) in production. > I read : > http://www.openbsd.org/faq/faq10.html#DupFS > > Can i do this wd1(my backup > disk) : > > mount /dev/wd1a /mnt > dump -0auf /mnt/etc_backup /dev/wd0a > ... > same > fo

create a backup of an online server

2011-12-27 Thread Wesley M.
Hi, I want to backup our mailserver(4.7) in production. I read : http://www.openbsd.org/faq/faq10.html#DupFS Can i do this wd1(my backup disk) : mount /dev/wd1a /mnt dump -0auf /mnt/etc_backup /dev/wd0a ... same for wd0d and wd0e ... Or do i need absolutely to do it in Single User? Or perhaps,