Solved

SQL Server Maintenance Plan backup to NAS

Posted on 2015-02-10
3
107 Views
Last Modified: 2015-06-12
I have setup a maintenance plan which is currently backing up to the local hard drive of the SQL Server. I would like to have the BAK and TRN files go directly to a local NAS device. The problem is that the NAS requires authentication and I don't know how to configure that in the maintenance plan. Is this possible and if so, how?
0
Comment
Question by:BrianThor
  • 2
3 Comments
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40602809
First of all you need to create a shared folder in NAS and give read and write permissions for SQL Server service account user then you have to options in your backup plan:

1. UNC path

Give the backup destination path as \\ServerName\ShareName

2. Drive map

Map a drive to the NAS share and give the backup destination path as DriveLetter:\
0
 

Author Comment

by:BrianThor
ID: 40604691
I should have explained that the NAS is not domain joined.  Is there a way to provide credentials other than letting SQL use it's own service account?
0
 
LVL 46

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40605099
If you are going to run a database backup it should be made in a SQL Server login context.
You can try with \\IpAddress\ShareName but then you need to give permissions to public that isn't recommended by security reasons.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now