How to Create a New Public Folder Database

Exchange 2007

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.


Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Topic Last Modified: 2010-05-24

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to create a new public folder database.

If more than one public folder database exists in your organization, you cannot use, local continuous replication (LCR), or standby continuous replication (SCR). Microsoft does not recommend that you use cluster continuous replication (CCR) if more than one public folder database exists in your organization. LCR, CCR, and SCR are types of storage group replication. LCR and CCR are available in the release to manufacturing (RTM) version of Exchange 2007 and in Exchange 2007 Service Pack 1 (SP1); SCR is available only in Exchange 2007 SP1. If you have two or more public folder databases in your organization, public folder replication is occurring, even if you have not configured public folders to be replicated. Public folder replication and storage group replication should not be combined. Therefore, LCR, and SCR are available for a public folder database only if there are no other public folder databases in the organization. To learn more about CCR, LCR, and SCR, see Cluster Continuous Replication, Local Continuous Replication, and Standby Continuous Replication.

To perform this procedure, the account you use must be delegated the following:

  • Exchange Organization Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Also, before you perform this procedure, be aware of the following:

  • A server can contain only one public folder database.

  • Page zeroing is a process that is performed at the end of a streaming backup in which the data within the database is overwritten with characters that you have selected for that purpose. This makes the data unrecoverable by conventional means. As a best practice, if you want to enable page zeroing on a database, you should do so when you create the database. If you do not configure page zeroing when you create the database, the first time page zeroing is run against the database, it will significantly impact server performance. For more information, see Online Maintenance Database Scanning in Exchange 2007 SP1 and SP2.

  1. Start the Exchange Management Console.

  2. In the console tree, expand Server Configuration, and then click Mailbox.

  3. In the result pane, click the server on which you want to create the new public folder database.

  4. In the work pane, click the storage group in which you want to create the new public folder database.

  5. In the action pane, click New Public Folder Database. The New Public Folder Database wizard appears.

  6. In the Public folder database name box, type the name of the new public folder database.

  7. (Optional) If you want to specify the location of the public folder database files, click Browse, and then enter the name and location of the new Exchange database file (.edb) for the public folder.

  8. Select or clear the Mount this database check box. The default condition is to mount the database at the completion of the wizard.

  9. Click New. The Completion page appears, indicating whether the public folder database was created successfully. This page also displays the Exchange Management Shell command that was used to create the public folder database.

  • Run the following command:

    New-PublicFolderDatabase -Name "My Public Folder Database" -StorageGroup "Second Storage Group"

    Where "My Public Folder Database" is the name of the public folder database, and "Second Storage Group" is the identity of the storage group in which you want to create the public folder database.

    There are multiple ways to specify the identity of the storage group (for example, by the storage group's GUID). For detailed syntax and parameter information, see the New-PublicFolderDatabase reference topic.
    The new public folder database is created in the dismounted state. To mount the new database, run the following command: Mount-Database -Identity "My Public Folder Database". For more information about how to mount databases, see How to Mount a Database.

For detailed syntax and parameter information, see New-PublicFolderDatabase.