Previous Page TOC Index Next Page


Backup and Restore Instructions

This chapter is intended to assist you in backing up and restoring the files that make up Post.Office mail system. The topics discussed in this chapter include:


9.1 Backing Up the Mail System

How many times have you been told to back up your system? Well, you’re about to be told again. The importance of this safety precaution cannot be overemphasized. True, Post.Office runs flawlessly most of the time, but that occasional hardware failure still needs to be considered.

The frequency with which you back up your system is determined by the specific characteristics of your installation (the amount of mail processed per day, the potential importance of a single message, the time required to execute a backup, etc.). You should review the standard practices established at your site for guidance in determining how often to back up your mail server.

When backing up the Post.Office files we advise that you do the following:

9.1.1Post.Office Full System Backup for UNIX



Safe software practices dictate that you back up your mail server on a regular basis. Follow the steps outlined below to back up your entire Post.Office installation. Restoration instructions (should you need them) are provided later in this chapter, but they assume proper completion of the documented backup procedure.

Backup Instructions:

These instructions assume that you have installed Post.Office in the default locations which are /usr/local/post.office (program executables), /var/spool/post.office (the spooling directories), and /var/spool/mailbox (the pop/IMAP mailbox directory). If you selected other locations you will need to adjust the instructions accordingly. To determine the current locations of your Post.Office, Program, and Mailbox directories list the contents of the /etc/post.office.conf file.

  1. Log on as root.
  2. Shutdown Post.Office by typing:
  3. Back up the following items making sure to maintain permissions and links:


9.2 Restoring the Mail System

Restoring your mail server is a relatively painless process, provided you took the precaution of making regular backups. The instructions that follow assume the existence of the required backup files.

9.2.1 Restoring the Mail System on OSX

The restoration instructions guide you in replacing the current copies of the Program, Spooling, and Mailbox directories with the versions you stored after your last backup. To determine the current locations of your Program, Spooling, and Mailbox directories list the contents of the /etc/post.office.conf file.

Restoration Instructions:

If you backed up your Post.Office system as instructed (see Section 9.1.1), you should have copies of the following items:

Assuming you took that precaution, please:

  1. Install Post.Office on the new system,.
  2. If Post.Office is running , shut it down by typing:
  3. Restore the two file system directories (containing the Post.Office account and configuration information, and your mailbox information), as well as the configuration file from your backup, on top of the current versions. Remember to maintain permissions and links. Note:If you run into ownership or permission problems, it’s possible that executing a chown or chgrp on the copied files and assigning ownership to your Post.Office user (mta) and group (mta) will be enough. The required permissions for UNIX are listed in the Post.Office FAQ for your review (http://wwww.tenon.com).
  4. If you are currently using Program Delivery you will need to re-enable that feature by typing: Caution:There are security issues associated with the use of Program Delivery. Please read Chapter 6 of the Post.Office manual to ensure you understand those issues before enabling this feature..

Post.Office ©Software.com, Inc. 1994-1998

Previous Page Page Top TOC Index Next Page