Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Created August 1, 2013 10:13
Show Gist options
  • Save HowardvanRooijen/6130133 to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/6130133 to your computer and use it in GitHub Desktop.
Execute-TeamCityBackup.ps1 Fragment
$server = "http://YOUR_SERVER"
$addTimestamp = $true
$includeConfigs = $true
$includeDatabase = $true
$includeBuildLogs = $true
$includePersonalChanges = $true
$fileName = "TeamCity_Backup_"
$username = "USERNAME" # Must be a TeamCity Admin
$password = "PASSWORD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment