Backup-SPFarm <  -Directory $path -BackupMethod full -ERROR
Backup-SPFarm : Directory C:\Backup\DailyFarmBackUp\05-11-2012\FarmBkUp.bak does not exist or the SQL Server service account and the domain\spadmin service account do not have permission to read or write to the backup folder. Specify a different directory or ensure that the SharePoint Timer service and Microsoft SQL Server service accounts have Full Control permission on both the file share and the underlying folder. At line:1 char:17 + Backup-SPFarm <<<< -Directory $path -BackupMethod full + CategoryInfo: InvalidData: (Microsoft.Share...mdletBackupFarm:SPCmdletBackupFarm) [Backup-SPFarm], DirectoryNotFoundException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletBackupFarm I have added full control to the folder for: -sql user -farm user -spadmin I am not sure what else to check. I thought maybe to check the network drive(and its path) but this script did nto work on the C:d drive. Any suggestions?
November 11th, 2012 9:21am

Does the $path variable contain a valid path? Double check by outputting it's contents before running Backup-SPFarm. Jason Warren Infrastructure Architect Habanero Consulting Group habaneroconsulting.com/blog
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2012 1:17pm

Thanks. The path was incorrect.
November 11th, 2012 2:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics