Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7890071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:15:32+00:00 2026-06-03T06:15:32+00:00

i want to schedule a daily backup with SQL Server Express by using window

  • 0

i want to schedule a daily backup with SQL Server Express by using window schedule. I am able to backup my database to D drive.But when i try to backup my database to c drive. The ms sql return me this error

    Msg 3201, Level 16, State 1, Line 3
Cannot open backup device 'C:\inetpub\Project backup Live\LewreDB backup\Wednesday\20120502.bak'. Operating system error 5(failed to retrieve text for this error. Reason: 15105).
Msg 3013, Level 16, State 1, Line 3
BACKUP DATABASE is terminating abnormally.

Here is my query

   DECLARE @pathName NVARCHAR(512) 
SET @pathName = 'C:\inetpub\Project backup Live\LewreDB backup\' + DATENAME(DW,GETDATE())+'\'+ Convert(varchar(8), GETDATE(), 112) + '.bak' 
BACKUP DATABASE [LEWREDB] TO  DISK = @pathName WITH NOFORMAT, NOINIT,  NAME = N'db_backup', SKIP, NOREWIND, NOUNLOAD,  STATS = 10

Did any one face this problem before

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:15:33+00:00Added an answer on June 3, 2026 at 6:15 am

    Are you trying to backup a SQL Server Express database on a remote server to your local C: drive?

    I got a similar error when I thought I could execute SQL on a remote database to backup to a location on my C:\ drive.

    In any case I can recommend a workaround where you run the backup in a batch file fired by a windows scheduled task and include a line in the batch file to copy the backup from the D: drive location on the SQL Express Server to your C: drive location wherever that may be.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run a sql query on a specific schedule (weekly) and need
I am using SQL Server 2005. I have a stored procedure [say Sp_GetAllMaterialInfo], I
I want to schedule job that would run immediately once the server is up,
What I want to do, is to schedule a SSIS package, using C#. the
I want to schedule a job in Jboss and websphere server. I have a
I am using the Grails Quartz plugin and want to schedule my jobs with
Please I want a way to make daily schedule to run a set of
I want send schedule mails using my php website, I don't want to use
I want to schedule events to happen for my users. Is there an efficient
I want to schedule the email with asp.net and C# code. what is basic

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.