[Backup] Hotcopy bat file

Aure69
Member Posts: 30
Hi,
I try to use hotcopy for the first time. I tried to do the following .bat file :
When I launch it I only see the prompt which opens and closes so quickly I cannot read any message. It seems that nothing happens. I had a look at the Navsion documentation but I don't see what is wrong with my bat.
Do you have any idea of what could be wrong ? Thanks in advance.
I try to use hotcopy for the first time. I tried to do the following .bat file :
c: cd\Program Files\Microsoft Business Solutions-Navision\Database Server\ HotCopy.exe source=C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Boc_Prod.fdb destination=C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Backup Server=BOCPROD user=admin password=prod dbtest=minimum
When I launch it I only see the prompt which opens and closes so quickly I cannot read any message. It seems that nothing happens. I had a look at the Navsion documentation but I don't see what is wrong with my bat.
Do you have any idea of what could be wrong ? Thanks in advance.
Business Analyst
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.
0
Comments
-
Hi,
I don't know what is wrong in .bat file, but if you appendpause
you should see the error.
br
Josef Metzbr
Josef Metz0 -
Also, if you run a *.bat file from a command prompt, it will display the messages but it won't close.0
-
I highly recommend to use Backup Description file to set the parameters instead command line parameters. See Documentation for this. It will remove some problems...0
-
Thanx Denster, that's what I have done, it seems that I have a wrong character
See the screenshot :
http://img272.imageshack.us/my.php?image=hotcopyerror10kn.gifkine wrote:I highly recommend to use Backup Description file to set the parameters instead command line parameters. See Documentation for this. It will remove some problems...Business Analyst
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.0 -
Aure69 wrote:[...]
c: cd\Program Files\Microsoft Business Solutions-Navision\Database Server\ HotCopy.exe source=C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Boc_Prod.fdb destination=C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Backup Server=BOCPROD user=admin password=prod dbtest=minimum
[...]c: cd\Program Files\Microsoft Business Solutions-Navision\Database Server\ HotCopy.exe [...]
It should becd c:\Program Files\Microsoft Business Solutions-Navision\Database Server\ HotCopy.exe [...]
As you can see in your screenshot, all commands will be executed in the directory "C:\Program Files\Microsoft Business Solutions-Navision\tunesi"
Further more, I suggest that you will put your commands in " :[...] HotCopy.exe source="C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Boc_Prod.fdb" destination="C:\Program Files\Microsoft Business Solutions-Navision\Bocage_Prod\Backup" Server=BOCPROD user=admin password=prod dbtest=minimum [...]
Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Thank you Timo, that worksBusiness Analyst
Incadea (Vertical solution for the automotive market based on Nav 2.60)
French speaking European/African/Indian Ocean countries.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions