Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

How to make a backup of NAV 2016 using powershell script

Posted on by

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

Categories:
  • dmourghen Profile Picture
    dmourghen on at
    RE: How to make a backup of NAV 2016 using powershell script

    Is it on NAVAPP 2016 or SQL itself?

  • Suggested answer
    I Gusti Made Ari Profile Picture
    I Gusti Made Ari 3,590 on at
    RE: How to make a backup of NAV 2016 using powershell script

    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
    dmourghen on at
    RE: How to make a backup of NAV 2016 using powershell script

    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
    I Gusti Made Ari 3,590 on at
    RE: How to make a backup of NAV 2016 using powershell script

    You can use Export-NAVData cmdlet :

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

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans