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 CRM (Archived)

Backing up code

(0) ShareShare
ReportReport
Posted on by

Hi, is there a tool to make a backup of the code for CRM 2016 ?

*This post is locked for comments

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi John,

    Download the developer extension for visual studio from below url.

    https://marketplace.visualstudio.com/items?itemName=JLattimer.DynamicsCRMDeveloperExtensions

    Create one project or solution in visual studio and connect to the developer extension. When login to the developer extension  you will see all the  unmanaged solution (With all web resources) in your CRM application .

    Select your unmanaged solution and download all the web resources in your local machine and upload to TFS or SVN server.

    I think this is the way you can prepare your back up of your all web resources.

    You can also export the solution as unmanaged and keep the backup time to time.

    Hope this helps.

  • Community Member Profile Picture
    on at

    Thanks, I need an automated way to backup CRM solutions.

  • Suggested answer
    Adrian Begovich Profile Picture
    1,032 Moderator on at

    Hi Jhon,

    I do not know any standard method of automatically backing up solutions in CRM 2016. If you are willing to invest in an upgrade to Dynamics 365, then you can make use of the system backups feature from the Dynamics 365 Admin Center.

    I think your best bet is to store your solutions and code in a version control system such as TFS.

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    You might be able to do it with Visual Studio Team Services and Azure CI.

  • Community Member Profile Picture
    on at

    I´ve hear that with PowerShell there is an option, do you know something about it?

  • Suggested answer
    Community Member Profile Picture
    on at

    Something like this for example, but with code to backup what is made to CRM

    community.dynamics.com/.../how-to-create-a-backup-and-restore-dynamics-365-online-database

  • Cyrus_Cempron Profile Picture
    123 on at

    There are lots. TFS, Github. Literaly plenty of options.

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

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans