We are a new NSC and are looking at the options for doing an automated backup. We have done it using hotCopy, but this makes quite a large file because it does an actual copy of the whole DB. The backup function off the Tools menu creates a much smaller file. Is there a way to call that backup function in a batch file so it could run at night? (We are using the Navision database.)
Any alternatives or suggestions are welcome.
Thanks!
SGM
0
Comments
Lars
If you zip the file, its a BIGGG difference.
Rgds
Benny
Benny Giebens
...
Everybody on-line.
...
Looking good!
http://www.veritas.com/products/categor ... uctId=bews
path=M:\path\Attain370;E:\AttainServer370
hotcopy.exe source=M:\path\Attain370.fdb destination=M:\path\Attain370-hc.fdb.
hotcopy.exe located in E:\AttainServer370, Batch called from there.
Result is always M:\path\Attain370-hc.fdb is not a valid path, whatever path i choose. I tried shorter names and extension fbk. I don't understand why the path is not valid. Gimme a hint, please.
I've found the description in the reference and devote myself to RTFM. Now it works as it should. Thx.
Try the \\-notation for the destination path.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
this is my hotcopy.bat:
hotcopy.exe source=T:\Datenbank\Database360.fdb destination=\\server\d$\DaSi description="Backup" cc=yes servername=attain osautentication=no user=user password=password dbtest=normal
I get the error message:
The following message came from the server:
The operating system cannot gain access to the file .
Please check taht the file typ and attributes are correct.
I also used the description file with no success.
Anyone can help me?
MS SQL Server 2008
By doing both during off-hours:
1. HotCopy provides a totally functional database, as of the prior evening. After the HotCopy backup, this file is copied over to a mirrored server. This means that in case of a catastrphic crash, users can be up and running as of the prior evening by just switching servers.
2. The standard Navision backup provides database integrity checking. Therefore, if the data integrity has been compromised, the Backup fails, and an EMail is sent to IT management. In this way, you instantly know that the database is corrupt and can (hopefully) fix the problem before the next backup cycle.
I cant remember the solution, but we used config file instead of parameters on commandline and I think that there was problem with network drivers mapped under some letter (try UNC name \\servername\...)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanx ma'an it's cool site.