Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. db backup

db backup

Scheduled Pinned Locked Moved Database
databasehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amilapradeep
    wrote on last edited by
    #1

    BACKUP DATABASE [db] TO DISK = N'D:\Classes' WITH NOFORMAT, INIT, NAME = N'db-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 i use this query to backup my db with sql express 2005. it's fine.but when i use direct partition(eg. C:\) or desktop it's giving error as os error and access denied anyone can help me

    C 1 Reply Last reply
    0
    • A amilapradeep

      BACKUP DATABASE [db] TO DISK = N'D:\Classes' WITH NOFORMAT, INIT, NAME = N'db-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10 i use this query to backup my db with sql express 2005. it's fine.but when i use direct partition(eg. C:\) or desktop it's giving error as os error and access denied anyone can help me

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Probably because the account that SQL Server is running in does not have access to those drives. (NOTE: This is the account the SQL Server process is using, not the account you use to log in to SQL Server)


      Upcoming events: * Glasgow: Geek Dinner (5th March) * Edinburgh: Web Security Conference Day for Windows Developers (12th April) My: Website | Blog | Photos

      A 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Probably because the account that SQL Server is running in does not have access to those drives. (NOTE: This is the account the SQL Server process is using, not the account you use to log in to SQL Server)


        Upcoming events: * Glasgow: Geek Dinner (5th March) * Edinburgh: Web Security Conference Day for Windows Developers (12th April) My: Website | Blog | Photos

        A Offline
        A Offline
        amilapradeep
        wrote on last edited by
        #3

        thanks if i try to backup to "c:\" it's giving that error .but if i backup to "c:\new folder" it's ok.i dont know why's that and what'll i do.i think that's not sql account problem.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups