Hi All,
In SQL Server there is an option of taking the automatic database
backups either weekly/daily. But how far the hotcopy in navision is
useful in it.
And how to use it for taking the database backup automatically. I
have tried it, but it's not working fine. Do any one have the user
manual for this or can tell me the steps to follow systematically?
Thanks in advance.
0
Comments
http://www.mibuso.com/dlinfo.asp?FileID=749
http://www.BiloBeauty.com
http://www.autismspeaks.org
That's really all there is to it.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I try using Hotcopy but i am having the following Error:
The system cannot find the file specified at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at HotCopy_Shell.myProgram.ExecuteHotCopy(String DateText, String TimeText, String Source, String Destination, String Servername, String Nettype, String Dbtest, Boolean Consistencycheck, Boolean OSAuthentication, String UserID, String Password, String Description, String Email)
Is there anything the problem.
Thanks.
Hotcopy.exe is on the server, in the directory where the server software is installed. It cannot be placed in any other directory.
You are right i use savatage Hotcopy Shell. i was trying to install it.
Now since it is already there, How can i go about with the schelduling of the backup. Honestly i don't know what to do. I need somebody to explain to me in step by step form how to definitely go about with this.I will appreciate it very much if i can have the explain step by step, since i can't lay my hands on the documentation. The one on the product CD is scanty.
Thanks.
In this file you have to create two sections. The first section is called [Backup Files]. In here you name all databaseparts and where they should be copied to. The line (or lines, with multiple database parts) should look like this:
In the next section, called [Options], you set the various options. The available options are:
Dbtest= (minimum, normal, maximum) to test the database. Don't use maximum, it will always fail.
Cc=(yes or no) to do a consistency check after the backup has been created
Servername=(NetBios name, IPaddres, ifnecesarry, with portnumber) to indicate the server
Nettype=(TCP, Netb or TCPS) to tell what network protocol you're using
user=(Navision user name) to log in to the navision database. Use this when using database authentication. When using Windows Authentication, omit this line.
password=(Navision user password) to log in to the navision database. Use this when using database authentication. When using Windows Authentication, omit this line.
OSAuthentication=YES. Use this only if you are using Windows Authentication, otherwise don't use it. I prefer to use database authentication
Email=(email address) to send an e-mail. An e-mail (for example, Outlook) client has to be installed
Description=(some text) to give a description of the backup
A sample file could look like this:
Now, go to the command prompt, go to the server directory, and type the following command:
hotcopy source=hotcopy.txt
If everything is allright, the backup should be made. If not, a clear errormessage is given.
Now, you can go to the Windows Task Scheduler. Create a new schedule, with the command hotcopy source=hotcopy.txt
This should work.
BTW, all information is very clear in the w1w1ism.pdf file (at least in the 5.0 docs)
I just tried this - alwasy seen it - figured it was easy - but It's no walk in the park. It's in dire need of step by step setup instructions.
Poltergeists' suggestion is much easier!
http://www.BiloBeauty.com
http://www.autismspeaks.org
What the hotcopy shell does is not making use of a description file (like I explained), but it uses the commandline option. With Hotcopy, all options can also be set on the commandline.
If you fill out all the data in the HotCopy shell, in the box next to the plus sign, you'll see the commandline the shell uses to execute hotcopy. You could copy this line into a batch file (don't forget to replace the **** of the password with the real password) and start this batch file. It should have the same effect.
BTW, the errormessage kolaboy received is indeed due to the fact that the hotcopy.exe is not in the same directory.