February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You want to back up a configuration database within your SQL Server.
Solution: Use the Backup-SPConfigurationDatabase cmdlet with the Directory parameter.
The Backup-SPConfigurationDatabase cmdlet enables you to perform a backup on a configuration database, placing the backup files in the directory specified. Listing 7.10 shows an example.
Listing 7.10. Sample Script for Backing Up a Configuration Database
Backup-SPConfigurationDatabase -Directory F:\Backups
This cmdlet already knows which configuration database the current server and SharePoint farm are using. Use the -DatabaseServer and -DatabaseName parameters to specify the actual configuration database name and location.
If you are ...
Read now
Unlock full access