Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2014
    Posts
    4

    Unanswered: DB2 RESTORE 10.1 file from network drive error

    Hello,

    I try to restore a dump file from a network drive but the network drive is not recognized:
    Code:
    db2 RESTORE DATABASE "SS41" USER my_user USING my_password FROM 'G:\my_dump' TAKEN AT 20140520180223 INTO SS41 WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING
    I get this error:

    Code:
    SQL2036N  The path for the file, named pipe, or device
    "G:\my_dump" is not valid.
    I checked for the G:\ drive in my Windows Explorer and I can browse the folders inside.

    Do you have an idea about this issue?

    Thanks a lot ,

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Apr 2012
    Posts
    1,035
    Provided Answers: 18
    Also verify that the username that runs the db2-instance has full rights to the resource that is G:\.
    When G: is a network drive then the db2-instance needs to be run by a domain-account (if you want the db2-instance to be able to backup/restore with that network drive).
    So if you perform the "db2 restore.." action as your own username, it is not your username that determines the access-rights, but instead the account that the db2-instance starts with. That is my memory of how it works on Windows platforms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •