The Simplest Way to Make Acronis and Teamcity Work Like They Should
You pair Acronis and TeamCity to back up servers before build agents deploy new code. This setup lets teams restore clean state fast when a release fails in production. Build pipelines run fast and change system state every hour. Backup tools keep copies of disks, databases, and build servers. When these two tools work together, teams ship software with much less risk. A build job can trigger a backup snapshot right before a major deploy starts. If the new release breaks a service, operators re
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
You pair Acronis and TeamCity to back up servers before build agents deploy new code. This setup lets teams restore clean state fast when a release fails in production.
Build pipelines run fast and change system state every hour. Backup tools keep copies of disks, databases, and build servers. When these two tools work together, teams ship software with much less risk. A build job can trigger a backup snapshot right before a major deploy starts. If the new release breaks a service, operators restore the prior snapshot in minutes.
How Acronis and TeamCity share keys and data
TeamCity uses build agents to compile code, run tests, and push artifacts to servers. Acronis runs backup agents on hosts to copy disk blocks and files to storage. To link Acronis and TeamCity, your build steps call the backup service over HTTPS.
First, an admin creates a service account in the backup console for the build server. That account gets a client key and a secret key for machine log in. Next, the admin stores those secret keys inside the build server secret store. When a deploy pipeline runs, the build agent trades those keys for an active token. The build agent then sends a request to start a backup job on target hosts.
The backup system sends back a job ID and status code to the build agent. The build agent checks that status until the backup finishes and writes a clean log. Only then does the pipeline move forward and push the new app build out. No actual backup archives pass through the build server during this entire flow. Only control messages and status checks travel between the two systems.
Common failure modes and how to scope roles
Many teams make the mistake of using one master admin key for every build job. If a bad actor steals that key from a build log, they control all backups. They could delete recovery points or read sensitive data from any server in the fleet. Shared accounts also make audit logs hard to read during a security review. You cannot tell which pipeline or developer ran a specific backup or restore task.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Another common problem happens when build agents print raw keys into plain text build logs. Anyone with read rights to the build server can then copy those secret keys. Network paths that keeps the session active to all internal subnets also raise your risk level. A rogue script on a test machine could call the backup API without approval.
To fix this, give each project in your build server its own narrow service role. A web app pipeline should only trigger backups for its own web servers. It should never have rights to delete snapshots or pull backup data back down. Set keys to expire on a fixed schedule and rotate them often. Restrict network traffic so only approved deploy agents can reach the backup management port. Keep test agents and prod deploy agents in separate pools with distinct keys.
Managing build and backup workflows at scale
As your team grows, tracking API keys across dozens of build projects gets hard. Admins spend hours rotating secrets and checking which build agent ran which job. You also need clear audit trails that tie every automated action to a real person. Centralizing how systems and engineers run tasks across your fleet keeps audits clean. It also stops secret sprawl before keys leak into logs or developer laptops.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Should build agents store backup archives on their local disks?
No, build agents should only send start and status requests to the backup service. The backup agent on the target host should stream data straight to safe storage.
What role rights does a deploy pipeline need in the backup tool?
Give the pipeline role rights to start backup jobs and read job status only. Never grant rights to delete recovery points, change storage rules, or download raw files.
How do we back up the build server itself?
Install the backup agent on the main build server host and database host. Schedule daily snapshots of the build data folder and database during quiet hours.
Related guides
In this post