Options

Problem with Hotcopy

xrivoxrivo Member Posts: 56
This is my description file:
[Backup Files]
c:\Program Files\Microsoft Business Solutions-Navision\Client\database.fdb=c:\Drivers

[Options]

description=This is the backup for Monday
dbtest=normal
cc=yes
servername=ovidiu
osauthentification=no
nettype=tcp

and i call hotcopy from a bat file like this:

net stop ovidiu
hotcopy source=backupfile.txt
net start ovidiu

and the error

The TCP/IP connection's 'host' is not answering (TCP/IP error ECONNREFUSED).

You can see how to make changes to your 'hosts' and 'services' files in the docu
mentation for the network. Contact your system manager if you need assistance.

Backup ended with an error at 2005/04/27 09:35:43.

I realy need your help...thx

Comments

  • Options
    Timo_LässerTimo_Lässer Member Posts: 481
    xrivo wrote:
    [...]
    net stop ovidiu
    hotcopy source=backupfile.txt
    net start ovidiu
    [...]
    That is your problem.
    Hotcopy can make a backup while the service is running.
    If you stop the service, hotcopy could not connect to the database.

    Note:
    If you want a backup while the service is running...
    ... you cannot copy the database files for backup
    ... you must use hotcopy

    If you want a backup while the service is stopped...
    ... you can copy the database files
    ... you cannot use hotcopy
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • Options
    xrivoxrivo Member Posts: 56
    Thx man ...I owe ypu a beer..If you ever come in Romania..just say

    THX 8)
Sign In or Register to comment.