Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sql server 2008 R2 remote backup timeout expired

Posted on 2014-10-15
11
Medium Priority
?
29 Views
Last Modified: 2015-11-12
Hi,

I have a remote routine to backup a SQL Server 2008 R2 database. The routine run in a different server of the database. So, I use the following command:

BACKUP DATABASE [<database name>] TO DISK = '\\<local server name>\BACKUP.BAK'

I do not connect to the database with the "sa" user, but with the database owner user, and the routine work well until now.

The problem is that now I get the error below when I run the routine:

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. When execute the SQL command (BACKUP DATABASE [<database name>] TO DISK = '\\<local server name>\BACKUP.BAK')

How I fix this?

It is important to remember that, as I haven't the "sa" user credentials, I can not  change parameters of the SQL Server installation. Also, due to the strict security policy,  initially my client does not permit this type of change.

Thanks in advance,

Marcelo Camarate
0
Comment
Question by:Marcelo Camarate
  • 6
  • 5
11 Comments
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40381936
I don't think it's a permission issue.
You should check if it's some heavy process running at same time and also check if the network bottleneck.
0
 

Author Comment

by:Marcelo Camarate
ID: 40382047
Hi Vitor,

Thanks for your reply.

I know that is not permission issue because, as I said in my last post, the routine work well until now. But, in the last two days I try to run it at several moments of the day without success. Therefore, the user that I connects to the database have permission to execute this command.

I said about permissions only in relation to change some parameter of the SQL Server installation, because I don't have the "sa" credentials.

Any other ideas?

Regards,

Marcelo Camarate
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40382050
You should check if it's some heavy process running at same time and also check if the network bottleneck.
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Accepted Solution

by:
Marcelo Camarate earned 0 total points
ID: 40384424
Hi Vitor,

Today, at 2:30 AM, I tried running the routine and the same error occurred.

The image below shows the existing infrastructure

INFRASTRUCTURE
I access the APPL_SERVER through a remote connection using an administrator login. Then, I establish a connection to DATABASE using a user that is owner of the database that I want to backup, and run the following command.

BACKUP DATABASE [<database name>] TO DISK = '\\APPL_SERVER\BACKUP.BAK'

Note that the path is in the network ("\\APPL_SERVER"). Ie, to the server that I'm logon. And it had been working fine until last week.

The problem is that don't have tools for network monitoring installed in APPL_SERVER, and I can not install any tool of this kind because the infrastructure is in my customer. Also, I haven't any user credential to login DATABASE_SERVER.

But I need to resolve the issue as soon as possible. Then, do you know (or other expert) a similar tool of the Microsoft Database Publishing? It does not work SQL Server 2008, because it was embed in Microsoft SQL Server Management Studio 2008, tool that also I can not install in APPL_SERVER in accordance with the policies of my customer. Would be ideal, because the Database Publishing generates a script to create/charge the database.

I'm waiting for your next suggestions.

Regards,

Marcelo Camarate
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 41212807
I'm sorry Marcelo. Somehow I missed your comment.
The database owner is a Domain Login or a SQL Login only?
0
 

Author Comment

by:Marcelo Camarate
ID: 41213047
Hi Vitor,

The database owner is a SQL Login only.

Regards,

Marcelo Camarate
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 41213087
That's why you couldn't have this working. A SQL Login doesn't have access to a network share. You'll need to run the BACKUP command with a Domain Login and that Login must be at least member of db_backupoperator role.
0
 

Author Comment

by:Marcelo Camarate
ID: 41213592
Hi Vitor,

This is exactly why I closed this topic and open another titled "SQL Server - Web tool to backup / restore". You could read it and suggest something.

Thanks and Regards,

Marcelo Camarate
0
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 41213605
Ok. Can you provide the link for the new question?
0
 

Author Comment

by:Marcelo Camarate
ID: 41215964
Hi Vitor,

The new questions is in http://whttp://www.experts-exchange.com/questions/28702123/SQL-Server-Web-tool-to-backup-restore.htmlww.experts-exchange.com/questions/28702123/SQL-Server-Web-tool-to-backup-restore.html.

Regards,

Marcelo Camarate
0
 

Author Closing Comment

by:Marcelo Camarate
ID: 41232529
I did not received any reply since Oct 16, 2014 and at August 1, 2015 I opened another question titled "SQL Server - Web tool to backup / restore" to try solve the same problem.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question