Solved

SQL Server Maintenance Plan backup to NAS

Posted on 2015-02-10
3
151 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 48

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 48

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS SQL Update query with connected table data 3 37
Import New Records From Access Table To SQL Database Table 7 31
Stored Proc - Rewrite 42 58
SSMS Opening Mode 9 18
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

839 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