Good morning,
I'm newbie in Dynamics Nav and so I'm trying to make the backups the best possible way.
At present I'm running a script like this for stopping previously Navision :
Import-Module "C:\Program Files\Microsoft Dynamics NAV\80\Service\NavAdminTool.ps1"
$procesoscorriendo=(Get-NAVServerInstance | Where-Object -Property 'State' -eq 'Running' | Measure-Object).count
If ($procesoscorriendo -gt 0)
{
Get-NAVServerInstance | Where-Object -Property 'State' -eq 'Running' | Set-NAVServerInstance -Stop
}
Now Navision is down so I can backup the database relaxedly because the server will not try to access to the database. Later I launch again Navision with a -Start. Does some other more practical, advisable or secure way of handling the backup task than the one I'm performing?
Thank you so much,
Best regards,
*This post is locked for comments