Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

Backup and Restore of Microsoft Lync Server 2010 : Backup Processes (part 2) - Backing Up the Central Management Store, Backing Up Lync Server Servers

4/12/2013 3:22:02 PM

2.2 Backing Up the Central Management Store

As mentioned previously, the long-lived LCSCmd.exe commands are gone and replaced with Lync Server Management Shell cmdlets. Specifically, the cmdlets for backing up the Central Management Store (CMS) are Export-CsConfiguration and Export-CsLisConfiguration, which export the overall configuration and the E911configuration, respectively.

The Export-CsConfiguration cmdlet exports the Lync Server global configuration. In previous versions, much of this information was stored in Active Directory; however, for Lync Server, it’s stored in the CMS. The CMS should be backed up after every configuration change or at a regular interval to ensure it can be easily restored in case of failure. There are two syntaxes for the command and both are displayed in the following:

Export-CsConfiguration – Filename <string> [-Force <SwitchParameter>] [-
LocalStore <SwitchParameter>]
Export-CsConfiguration –AsBytes <SwitchParameter> [-Force <SwitchParameter>]
 [-LocalStore <SwitchParameter>]


					  

The parameters are defined as follows:

  • Filename— Path to the .zip file to be created. For example, “C:\CsConfig.zip”. You must use either the –FileName or –AsBytes flag, but you cannot use both in the same command.

  • AsBytes— Returns CS Topology information as a byte array. The returned data must then be stored in a variable to be used by the Import-CsConfiguration cmdlets. You must use either the –FileName or –AsBytes flag, but you cannot use both in the same command.

  • Force— Suppresses the display of nonfatal errors when running the command.

Normally, you wait for a replication cycle to occur before building a new server role. However, if new servers need to be deployed quickly, the Export-CSConfiguration and Import-CsConfiguration cmdlets can be used in succession to manually copy the topology to the new system.

The Export-CsLisConfiguration cmdlet exports E911 data to a configuration file in compressed .zip format. The syntax is defined as follows:

Export-CsLisConfiguration –Filename <string> [<CommonParameter>]

The parameters are defined as follows:

  • Filename— Path to the .zip file to be created.

  • CommonParameter— Any of the Cs common parameters including Verbose, Debug, ErrorAction, ErrorVariable, Warningaction, WarningVariable, OutBuffer, and OutVariable.

With these two files, a disaster recovery scenario becomes realistic. Without them, you are assured of starting over from scratch.

2.3 Backing Up Lync Server Servers

Although there are numerous enterprise backup solutions, this section focuses on the one included with Windows Server 2008 R2—namely Windows Server Backup. This tool is similar to NTBackup.exe, which has been used for years as a Windows backup solution.

Windows Server Backup must be added as a feature before it can be used. From the Server Manager tool, right-click Features, and then select Add Features. In the window that displays, put a check mark sext to Windows Server Backup Features. Click Next, and then click Install to finish the installation. A reboot is not required before using the feature.

When you launch Windows Server Backup from the Start menu, you see a screen similar to Figure 4. The following steps review the process to create a one-time server backup. The tool can also be used to create scheduled recurring backups.

Figure 4. Windows Server Backup

To create a one-time server backup using the built-in Windows Server Backup tool, follow the steps that follow:

1.
In the Windows Server Backup MMC, click Backup Once in the right action pane.

2.
At the first screen, click Next.

3.
For most installations, select Full Server, and then click Next.

Tip

It is generally recommended you store your backups in a location other than the local disk of the server. In the case of a server failure, all backups would be lost. This can be a SAN disk or something as simple as a share on another system. Select Remote Shared Folder, and then click Next.

4.
For the purpose of this example, we save the backup to a share on another server, as shown in Figure 5. Select the Do Not Inherit option to limit access to a specific account.



Figure 5. Save the Backup to a Location Other Than the Local Server

5.
In the login prompt that displays, enter the appropriate credentials for an account that should have access to backup files.

Note

Often this is a service account. Note that this account must have write access to the location where the backup is stored.

6.
Ensure everything is correct on the Confirmation screen, as shown in Figure 6. Then click Backup to start the backup process.

Figure 6. Windows Server Backup Confirmation

7.
The Backup Progress screen displays and shows the backup progress, as shown in Figure 7.

Figure 7. Windows Server Backup Progress

8.
When the backup process completes, click Close to close the window and finish the job.

The Windows Server Backup console shows the success backup and its timestamp in the Messages window. The Last Backup section also includes a “Successful” message and the timestamp.

This process can be done on all the Lync Server roles. However, as noted previously, SQL database backup is a different and unique process.

Other -----------------
- SQL server 2008 R2 : Creating and Managing Stored Procedures - Using Input Parameters
- SQL server 2008 R2 : Creating and Managing Stored Procedures - Modifying Stored Procedures
- Microsoft Dynamics Ax 2009 : RunBase Framework Extension (part 4) - Adding a Query
- Microsoft Dynamics Ax 2009 : RunBase Framework Extension (part 3) - Adding Property Methods, Adding Constructors
- Microsoft Dynamics Ax 2009 : RunBase Framework Extension (part 2) - Bike-Tuning Service Offers Example
- Microsoft Dynamics Ax 2009 : RunBase Framework Extension (part 1) - Property Method Pattern, Pack-Unpack Pattern
- Nginx HTTP Server : Basic Nginx Configuration - Testing your server
- Nginx HTTP Server : Basic Nginx Configuration - A configuration for your profile
- Windows Server : Network Access Policy and Server and Domain Isolation (part 4) - Planning NAP DHCP Enforcement, Domain and Server Isolation
- Windows Server : Network Access Policy and Server and Domain Isolation (part 3) - Planning NAP VPN Enforcement, Planning NAP 802.1x Enforcement
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro