$dbname= "SharePoint_Config"
$dbserver = "DBServer\Instance"
$backup_dir = "\\fileserver\dir"
Add-PsSnapin Microsoft.SharePoint.PowerShell -erroraction silentlycontinue
Backup-SPConfigurationDatabase -Directory $backup_dir -DatabaseServer $dbserver -DatabaseName $dbname -Verbose
No comments:
Post a Comment