zimbakin Posted June 8, 2006 Report Share Posted June 8, 2006 I need to backup IMAP accounts on a server, however, Retrospect does not appear to allow me to see core root folders such as /var/spool/imap/user etc. Any ideas on how to back these up would be greatly appreciated. Link to comment Share on other sites More sharing options...
waltr Posted June 8, 2006 Report Share Posted June 8, 2006 hi andr07, there is no /var directory on OS X. /var is a symbolic link to /private/var. try backing up /private/var Link to comment Share on other sites More sharing options...
rhwalker Posted June 8, 2006 Report Share Posted June 8, 2006 In addition to waltr's [correct] observation, there's also the issue of trying to backup a live server's (Cyrus?) database, and trying to get a self-consistent snapshot. You may want to set up a Retrospect "trigger script" in your Retrospect Event Handler for taking a quiescent snapshot (duplicate) of the mail database with the Mail Services turned off (via AppleScript) before doing the snapshot and then back on after Retrospect has completed the snapshot. That keeps the mail server down for a minimum amount of time and gets a consistent snapshot that can then be backed up to tape as a part of the backup of selected portions of the server's disk. You may instead (with a little more work) have the mail snapshot taken by some of the mail backup scripts at AFP548.com (which stop/start the mail services), and then have Retrospect back up the mail backup snapshots. Think a bit about it and you will come to realize the difficulty of trying to back up a live server. If the backed-up Cyrus database is inconsistent (made while the mail services are active), then you will have a corrupt mail database when you try to do the restore. Hope this helps, Russ Link to comment Share on other sites More sharing options...
waltr Posted June 8, 2006 Report Share Posted June 8, 2006 hi russ, yes, this is spot on. good advice. here's a Cyrus wiki on backup: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/Backup Link to comment Share on other sites More sharing options...
zimbakin Posted June 13, 2006 Author Report Share Posted June 13, 2006 Thanks all for your great help and advice. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.