web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to make a backup of NAV 2016 using powershell script

(0) ShareShare
ReportReport
Posted on by 10

I want to make a backup of nav 2016 through powershell and automate this process for a daily backup.

it usualy export it as .navdata

*This post is locked for comments

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    You can use Export-NAVData cmdlet :

    Export-NAVData -DatabaseServer 'MyServer' -DatabaseName 'Demo Database NAV' -AllCompanies -FilePath C:\file\Companies.navdata

  • dmourghen Profile Picture
    10 on at

    It seems when importing back now it's growing the database

    SQL MDF file grew from 117 GB to 673 GB

    SQL LOG file grew from 13 GB to 107 GB

    Can you please advise if you know why.

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    Are you using sql server 2016 ?

    There is this issue and you need to install the updated cu.

    I suggest you to install the latest cu of Nav 2016.

    www.microsoft.com/.../details.aspx

  • dmourghen Profile Picture
    10 on at

    Is it on NAVAPP 2016 or SQL itself?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Hannes Holst Profile Picture

Hannes Holst 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans