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
\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
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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?
This is described in w1w1ism.pdf.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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