

#Server data backup manual#
The recommended approach is either to perform the manual backup process or run a backup from the UI regularly (for example, automated via REST API) with the "Basic" level - this will ensure backing up all important data except build artifacts and build logs.īuild artifacts and logs (if necessary) can be backed up manually by copying files under /system/artifacts. TeamCity application manual customizations under, including used server port number, which are stored in the /conf/server.xml file.Īny manually created files under that do not fall into previously mentioned items. If you want to back up these, stop the TeamCity server and use the maintainDB tool. If you need to back up the artifacts, save the contents of artifacts directories manually before restoring TeamCity data from backup.įor backup from the UI: running builds and build queue state. These include build artifacts, internal NuGet feed packages, coverage report, finish build parameters, settings digest, and so on. The following data is not included into backup:īuild artifacts (because of their size). Supplementary data: settings history, triggers states, plugins data, and so on (everything under the /system/pluginData directory)
#Server data backup drivers#
Server settings, settings of projects and builds configurations (everything stored in /config), and secure valuesĬustom plugins (installed under \plugins) and database drivers (from /lib directory) TeamCity allows backing up the following data: You can choose what data is backed up either in the UI or by adding the respective parameters in maintainDB. Note that TeamCity server does not support downgrading. We strongly urge you to make the backup of TeamCity data before upgrading. You may need to back up the build agent's data only. Manual backup: is suitable if you want to manage the backup procedure manually. To include all data, use the tool when the server is stopped. This option is also available on upgrade in the maintenance screen: on the first start of a newer version of the TeamCity server.īackup via maintainDB command-line tool: same as via the UI. Some limitations on the backed up data apply (see the related section below). It is recommended for regular maintenance backups. TeamCity provides several ways to back up its data:īackup from the Web UI: an action in the web UI (can also be triggered via REST API) to create a backup while the server is running. TeamCity Data Backup About Data Backup in TeamCity
