Save project data

Azure DevOps Services | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015 | TFS 2013

When you delete a project, you cannot recover its data later. Therefore, you should save project data.

You can use the following procedures to save data that users most care about, such as source code, build data, and work items.

  • Source code and custom build templates: You can download your files as a zip file. Open the Repository actions actions icon for the repository, file, or folder and choose Download as Zip. You can also choose the Download icon at the right side of the screen to download either all of the files in the currently selected folder, or the currently selected file.

    Download code

    context menu with download as zip menu item

    This process doesn't save any change history or links to other artifacts.

    If you use Git, clone your repositories to retain the full project history and all the branches.

  • Build data: To save logs and data in your drop build folders, see View build results.

  • Work item tracking data: Create a work item query and open it using Excel. Save the Excel spreadsheet.

    This process doesn't save any attachments, change history, or links to other artifacts.

To learn more about how we manage and protect your data, read our Data Protection Overview.

You can easily save data stored for a project collection by making a backup of the database. You can also use the same steps as above.