Got a service call yesterday that the backup hasn't been done for three months. Looking at the task scheduler history, there where no errors. So I run the PowerShell script myself, and got an exeption that PSSnapin hasn't been loaded. I added the familiar PSSnapin line, but still got the same exception.
We decided to restart the server, and after that the script ran fine agen without errors. But having to restart the server seems wrong. Is there a service on the server i can restart instead? If so, what's the name of that service?
The Script
Backup-SPFarm -Directory E:\Backup -BackupMethod full
The Problem (edited)
The problem that I face is that the Microsoft.SharePoint.Powershell didn't load at all. And that's the real problem. No matter which checks I did or continue silently (as suggested by Falak). It did not load. My thought is that there is a service that handles the .NET SharePoint.dll - which where inaccessible. I want to restart that service without restarting the server - if possible. Is there a service that controls PSSnapin Microsoft.SharePoint.Powershell?
