Hi everyone.
I'm trying to make a backup of my farm (Sharepoint Foundation 2010) through a script (ps1).
This script runs "Backup-SPFarm - Directory Z: - BackupMethod Full"
There are 6 Databases, the backup of the 5 first databases is made correctly, but in the last one I always get the same error:
"SqlException: timeout value expired." The timeout period has expired before completion of the operation or the server does not respond.
Time is out. Server did not respond within the timeout period.
After that first message, the script try to repeat the same command 3 times, and shows the "SQL command timeout is set to 1.51 hours" message.
The backup always throws the same message when it reaches the 90% completed, and restarts again.
After the 3 attemps, the backup is cancelled:
"The backup or restore was aborted."
I have to say that this database is the largest one, (its size is about 250 GB)
I have set the BackupThreads option even to 10, but I always get the same error.
I have tried to set the "SQL command timeout is set to 1.51 hours" to a higher value, but I can't find where to do it.
If I do the backup directly on the SQL Server Management Studio, is carried out without problems, so it seems that the problem is in the connection between the SQL Server and powershell.
Please, any help?
Kind regards,
Sergio
Sergio