Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Server 2022 | Azure DevOps Server 2020 | Azure DevOps Server 2019
You can back up data for your Azure DevOps Server deployment by using the Scheduled Backups tool in the administration console. If you regularly back up these databases, you reduce the risk of losing productivity or data because of equipment failure or other unexpected events.
Important
If you are using the Enterprise or Datacenter edition of SQL Server and you want to restore the collection and configuration databases to a Standard edition of SQL Server, then before you make the backup, you must turn off SQL Server compression by following the steps in this Microsoft Knowledge Base article.
If you're not an administrator for Azure DevOps, a member of the SQL Server System Administrators group, and (if your deployment uses SharePoint Products) a member of the Farm Administrators group, get those permissions now.
In addition, the Azure DevOps service account (TFSService) must have SQL Server Perform Back Up and Create Maintenance Plan permissions set to Allow on each instance of SQL Server that hosts the databases that you want to back up, and Full Control on the network share, folder, or storage device where the backups will be kept.
Open the Azure DevOps Server Administration Console, select the Scheduled Backups page, and launch the wizard for creating a backup schedule.
Backups must be stored on a network-accessible location, and both the account that configures the scheduled backup and the Azure DevOps Server must have Full Control for that location. You can also choose how long a backup set will be kept and the file extensions used for backup types.
If your server is configured with SMTP support, you can select email alerts for specific events. If not, all selections will be dimmed.
Choose between two default schedules, or create your own custom schedule.
Complete the wizard. If your deployment uses reporting, you will be prompted for a password in order to back up the encryption key for reporting.
Once you've configured the scheduled backups, you can allow them to run as scheduled.
You can also take an immediate backup, which will back up your data right away while leaving your plan in place. This is particularly recommended if your scheduled backups will not occur for a significant amount of time, or if you do not already have a recent backup available.
Note
For another administrator to take an immediate backup, that administrator must also have Full Control on the location where the backups are saved.
A: You can learn more about the kinds of backups available in Understand backing up Azure DevOps Server.
A: Yes. You can manually create backup plans.
A: You use the Restore tool, but the steps vary depending on whether you need to restore data to a new server, or whether you want to restore data to the same server.
A: Yes, you can move Azure DevOps Server to new hardware. You can also change its environment, such as its domain.
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Certification
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
Documentation
Back up & restore databases - Azure DevOps
Learn how to back up the databases for your Azure DevOps Server regularly by using the Scheduled Backups Wizard.
About database backups & topologies - Azure DevOps
Learn how backing up Azure DevOps databases is necessary to restore deployments for different topologies, including ones that use SQL Server Reporting Services.
Manual database backup - Azure DevOps
Learn how to manually back up data for Azure DevOps Server by using tools in SQL Server. Manual backups may be necessary due to security restrictions.