How to Export and Import StoreFront Subscription Database

How to Export and Import StoreFront Subscription Database

book

Article ID: CTX139343

calendar_today

Updated On:

Description

This article explains how to export and import a StoreFront Subscription Database.


Instructions

To export a StoreFront database:

  1. Ensure that the StoreFront console is closed.

  2. Create a snapshot of a store’s subscription data using the following PowerShell cmdlets:

    1. Add the Snapin Module using the following command:
      Add-PSSnapin Citrix.DeliveryServices.SubscriptionsManagement.CommandsUser-added image
    2. Export the file using the following command:
      Export-DSStoreSubscriptions –StoreName StoreName –FilePath DataFile  (DataFile is the name that you want the file to be. The default location is C:\Windows\System32\”FileName”)
      Note: If Store name has spaces enter in quotes”User-added image

To import a StoreFront database

The database can be imported to the same store or to a different store, as long as the Display Name of the Delivery Controllers match on both stores (Exporting from and Importing to). To verify do the following:

  • Open the MMC on both Storefront servers (Exporting from and Importing to).
  • Navigate to Stores > Select the store > Manage Delivery Controllers and confirm both Stores contain the same Delivery Controller's name and type.

Once verified, use the following command to import the Storefront database:

Import-DSStoreSubscriptions –StoreName StoreName –FilePath FilePath (FilePath is the filename. The default location is C:\windows\system32)User-added image

 

Issue/Introduction

This article explains how to export and import a Storefront Subscription Database.