I have a problem when trying to schedule my hotcopy script using Windows Server 2008.
Setup:
Windows Server 2008
NAV 4.0 SP3
60 GB Native database
Hotcopy:
Installed on the native database server
Invoked using a .bat file called "hotcopy script.bat" (this file only contains one line: "hotcopy source=backup.txt")
The .bat file is scheduled to run once a day
backup.txt is the configuration file which contains all info about the backup
When I run the bat file manually the backup starts and runs ok. If I start it manually from the task scheduler it does not do anything and still say it's successful. No backup is created.
Anyone have any suggestions about what might be wrong?
Navision developer
0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
Isn't there a Hot fix you need to apply?
Only if they use business notification or commerce gateway from what I can read. If you have any other experience let me know.
Anyway at the moment we have two problems.
1. The problem that the task scheduler refuse to run the .bat file.
2. NAS seems to increase the database size if not restarted, never ever seen this behavior before. If I don't restart the NAS it has consumed 10 G of database space within 3 days. Immediately after I stop NAS the database size drops 10 G.
I had to put the whole path to the backup.txt file in the .cmd file, after that it worked
hotcopy source=c:\scripts\backup.txt
The file created is named nav_prod.fdb.SAV.
Is there something wrong with my backup.txt file? Perhaps it is better to schedule the hotcopy.exe and set parameters instead of invoking a cmd file? Will this give me some more info?
[Backup Files]
d:\nav_prod.fdb=\\w2\Navision
[Options]
;This is the description of the auto backup
description=This is the auto backup
dbtest=min
cc=yes
nettype=tcp
servername=localhost
user=XX
password=XX