smaller reset larger        English         

Main Menu

All times are in GMT -8 (DST) :: The time is now 10:15 am.

Sub Menu

Article Data
Article Ref
5412-SLXN-6753
Written By
Josh Olson
Date Created
Wed, 20th Aug 2008
Updated By
Josh Olson
Date Modified
Wed, 20th Aug 2008
 
(Lost?)

   Backing Up CommuniGate Pro

Question 

How to I go about backing up my CommuniGate Pro Data?

Answer 

Backups:

The CommuniGate Pro message store allows for “live” backups using any standard backup-restore program. The server does not have to be stopped to do a backup.

CommuniGate Pro will work with any back-up software appropriate to your operating system. CommuniGate Pro requires that no file locking mechanisms are used during the backup process. In the event that file locking is used, the system may be unintentionally brought down or account information corrupted (this is only a problem in the Microsoft Windows environment). Restored CommuniGate Pro files can be restored using the regular procedures employed by your backup-restore program.

All of the default BASE directory data in /var/CommuniGate (C:\CommuniGate Files on Windows) is critical, including the directories:

Settings/ Domains/ Accounts/ WebSkins/ Directory/ Queue/ Submitted/ SystemLogs/

The real messaging data is usually in the Accounts/ and Domains/ directories, as every user’s directory is located underneath those two areas. The configuration data in Settings/ and in the Accounts/ and Domains/ directories, so you could consider these the most important data locations.

If you have the capacity to backup all of /var/CommuniGate, this is what you should do.

CommuniGate Pro files can be restored using the regular procedures employed by your backup-restore program. Many site administrators choose to restore data to an account by creating a new mailbox called, for example, “Restored Mail” and putting the restored data there, allowing the user to move the mail back to its sorted folder location as desired. This method eliminates the potential delivery of new email to a user’s Inbox or mailboxes at the same moment in time when the administrator is restoring mail – this is a potential “race condition” which could cause the loss of new email. Therefore, CommuniGate Systems recommends the use of a Restore mailbox for restoring when the system is live. Upon creating a new mailbox in the user’s directory tree, the administrator may need to subscribe the user to the new mailbox using the CommuniGate CLI command “SETACCOUNTSUBSCRIPTION” or through the WebAdmin Interface. If restoring messages directly to existing mailboxes, the user’s account.info file may need to be refreshed using the WebAdmin Interface “Current” button on each account, but as mentioned above, restoring to a Restore mailbox is the recommended approach.

Tape back-up, store to disc and other methods are all supported. One of key features in backups can be mirroring. Many storage systems support the ability to mirror the file system or directory structure to another device. Using this mirroring an “offline” system can be used to store “snapshots” of the live systems. From the offline system, backups to a tape device can be done without impacting the live environment. This means that backups of multiple terabytes of data can be done any time of the day or night. Recovery of the data can then be done by putting the “offline” system into production with the latest snapshot or do a restore from the offline storage system rather than restoring from a significantly slower tape device.

Using a strategy of weekly or monthly “full” backups as well as daily or weekly “incremental” backups will allow a measure of both efficiency and completeness of the backups. Full backups will require a longer backup duration, so should be run at times of least load. Incremental backups will be substantially faster, as only those files changed since the last backup will be stored.

How Useful Was This Article?      (Rating: 88%    Votes: 5)  

Select a Rating

Article Comments 

There are currently no comments.