Re: Email account backups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 26, 2010 at 5:56 AM, Fredrik Jervfors
<jervfors@xxxxxxxxxxxxxxxx> wrote:
>> Please accept my sincere apology if I am going about asking these
>> questions the wrong way!
>
> Accepted.
>
>> Our company has been liquidated and has only  a
>> hand full of staff running services to our customers. My question is that
>> we have a mail server, Squirrelmail with Virtual Exim.... I would like to
>> know are there any documentation that could help me to backup all the user
>> accounts? and how I could restore them in a case of total failure?
>
> The actual mail accounts are not in SquirrelMail but in Exim, so you have
> to read up on Exim to backup that.
>
> SquirrelMail does keep some internal files though, such as configuration,
> user preferences and user address books. Find the SquirrelMail
> configuration directory (it's usually named "config/" but the path might
> vary depending on how your SquirrelMail was installed) and grep like this:
>
> grep "\(attachment\|data\)_dir" * | \
> grep -v "\(conf.pl\|config_default.php\)"
>
> This should give you a hint of where SquirrelMail keeps its files.
> "data_dir" is the most important of the two, since "attachment_dir" is a
> cache of attached files. Back up all SquirrelMail files, especially the
> config directory and the files in the "data_dir" directory.

Or SquirrelMail could be configured to store user preferences and
address books in a database.  Using Fredrik's method to test, you can
see if a database is being used like this:

grep "\(addrbook\|prefs\)_dsn" * | \
grep -v "\(conf.pl\|config_default.php\)"

Keep in mind that if you have user data in a database, some plugins
might still put some user data in the data directory, so it's best to
back up both the database and the data directory.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux