hotcopy grief...

CarterCarter Member Posts: 5
edited 2006-01-26 in Navision Attain
Am I glad I've found this forum!
I'm having a bit of grief trying to get hotcopy to work, here's the scenario:

single server, running Navision Attain Database server NAVLIVE & NAVTEST services as domain admin

(I recently changed from localhost following documentation I read somwhere on hotcopy)

Ports in use for NAVLIVE & NAVTEST are 20000 & 200001 respectively.


Here's how I call hotcopy.exe:
hotcopy source=hotcopy.txt

hotcopy.txt:
[Backup Files]
d:\navision\databa~1\live\database.fdb=z:\NavisionBackup

[Options]
; file creation date: 2006-01-02 11:38:00
description=Navision Daily Backup
Cc=Yes
Servername=localhost
Nettype=tcp


which produces the error:
You cannot use the file D:\Navision\Database Server\Live\Database.fdb because it is already in use.

Hmmm has anyone any ideas how to overcome this?
We are running version 3.6, and I have tried unc paths, local paths, mapped drive paths etc but I don't think that's the problem.

What could be holding the db file in use? I though hotcopy should be using the service to connect to the database??

Thanks

Comments

  • kinekine Member Posts: 12,562
    The problem will be in:
    Servername=localhost 
    

    The server name is the name of the service. If you enter only localhost, the hotcopy is trying to connect to the local host to default port no. And because you wrote, that the ports are different...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • CarterCarter Member Posts: 5
    aahaaa so I check the services file and find NAVLIVE on port 20000, I changed the localhost= entry to NAVLIVE, and now I get a server & client version mismatch error, it looks like hotcopy 3.10 is installed, not 3.60 (i presume)
  • CarterCarter Member Posts: 5
    OK I've found the right version of hotcopy on the cd, replaced the old version, now I get the error:
    The combination of user ID and password entered is invalid. Try again.

    Can someone jsut clarify - should I be specifying a user & password and having the 'osauth' entry in the description file?
    Or should it be using a navision login to log into Navision, or should it be an NT login for writing the new file?
  • kinekine Member Posts: 12,562
    You need some login to log into Navision. You can use the windows auth. for this or directly enter some user/password in your settings...

    This is described in w1w1ism.pdf.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • CarterCarter Member Posts: 5
    Cracked it now, used a navision user to log in with.

    I tried using windows auth but it didn't like it, I guess Navision isn't set up to use this, I'd better look at as I hate storing passwords in plain text files [-X
Sign In or Register to comment.