Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

MSSQL 2012 Backup Timeout

$
0
0

Dear Microsoft Technet Team,

we have an issue regarding creating a Backup using Powershell. Each time we try backing up on special database we get into a timeout after 10 minutes (default connection timeout is as far as we know about 600 seconds). Creating a database backup using the MSSQL Management Studio it works without any problems. Unfortunately we haven't found the option changing the default timeout. Of course on our other databases which require less time to create our backup there is no problem. We hope you may have any helping advice. Thank you in advance. Please let us know if you need any further information.

Powershell command: qlps Backup-SqlDatabase -Server db02 -BackupFile E:\\bacula-tmp\\backup-oewsaas.sql -Database oewsaas -Checksum

Backup-SqlDatabase : Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
Bei Zeile:1 Zeichen:19
+ Backup-SqlDatabase <<<<  -Server db02 -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Database oewsaas -Checksum
    + CategoryInfo          : InvalidOperation: (:) [Backup-SqlDatabase], SqlException
    + FullyQualifiedErrorId : ExecutionFailed,Microsoft.SqlServer.Management.PowerShell.BackupSqlDatabaseCommand

------------

Event Log:
2014-03-04 08:21:41.89             Fehler: 3041, Schweregrad: 16, Status: 1.
2014-03-04 08:21:41.89             BACKUP failed to complete the command BACKUP DATABASE oewsaas. Check the backup application log for detailed messages.

Best Regards,

Paul Becker


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>