Hello,
It's a classic client 4x version. There is a manual process in place for an organization for backing up production company and restore it on another server that users could use it there.
Please advise how it would be possible to automate it. I've seen a code how to do it before and even had a copy of it but I couldn't find it now. Is it to create an SQL sp and do the SSIS package or there is a better way of doing it. I've also seen a few lines of a code for PowerShell that could be probably also used for this automated task but it's for NAV 2013 while the current version I'd need to automate is an old one as 4x.
Thanks
0
Comments
http://mibuso.com/blogs/davidmachanick/
I tried to google it of course but I found the NAV 2013 via powershell code only for now e.g. starts as below:
#Backup the Application Database
$NavApplication = Get-NAVApplication $ServiceInstance
Backup-SqlDatabase -ServerInstance $NavApplication.'Database Server' -Database $NavApplication.'Database Name' -BackupAction Database
That is nice and easy coding that I could use for automation but it might not work for NAV 4x probably as it's for NAV 2013.
They also say in the old Docs that MS NAV add things such as "Backing up and restoring data can be automated as jobs, and these canrun without any disruption to your work". But, I could not locate any specifics for it.
If you know any links please send it to me.
Thanks
Thanks
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav