Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
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

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server