<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amirhossein Ebrahimzade on Medium]]></title>
        <description><![CDATA[Stories by Amirhossein Ebrahimzade on Medium]]></description>
        <link>https://medium.com/@amirhebrahimzade?source=rss-e7cc4fa1327b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GZSdfBazjoi37NJghAKlYA.png</url>
            <title>Stories by Amirhossein Ebrahimzade on Medium</title>
            <link>https://medium.com/@amirhebrahimzade?source=rss-e7cc4fa1327b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:54:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amirhebrahimzade/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Kargo: The GitOps Promotion Layer You Didn’t Know You Needed]]></title>
            <link>https://medium.com/@amirhebrahimzade/kargo-the-gitops-promotion-layer-you-didnt-know-you-needed-078594c92955?source=rss-e7cc4fa1327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/078594c92955</guid>
            <category><![CDATA[akuity]]></category>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[kargo]]></category>
            <category><![CDATA[argo-cd]]></category>
            <dc:creator><![CDATA[Amirhossein Ebrahimzade]]></dc:creator>
            <pubDate>Fri, 28 Aug 2026 17:59:15 GMT</pubDate>
            <atom:updated>2026-08-28T18:13:08.584Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are running Kubernetes with Argo CD, you probably already have a pretty good deployment pipeline. It works fine — until you have more than one environment. Then the questions become:</p><blockquote><strong>How does version </strong><strong>1.42 move from development to staging?</strong></blockquote><blockquote><strong>How do we make sure the exact same version that passed staging is the one deployed to production?</strong></blockquote><blockquote><strong>What happens when production uses a different Helm values file?</strong></blockquote><blockquote><strong>Can we automatically promote a release after validation?</strong></blockquote><p>And eventually, your GitOps repository starts looking less like a source of truth and more like a collection of automation hacks. This is where <strong>Kargo </strong>comes in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/0*fCNvpzT-zyf6xGEr" /></figure><p>Kargo is not another Argo CD. It is not Argo Rollouts. It is not simply another image updater. Kargo sits in the gap between <strong>“we have a new artifact”</strong> and <strong>“this artifact should now be running in production.” </strong>And that gap is what we are going to explore.</p><h4>First, let’s look at the GitOps pipeline</h4><p>A relatively standard Kubernetes setup looks something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*jkhWT-xORe6qtWVE0qEsLw.png" /></figure><p>developer pushes the code into git, CI gets triggered keeps dealing with tests, stages and finally, CI builds: service:1.42 and pushes it to the registry. Then something changes in Git; Argo CD sees that Git now represents a different desired state and reconciles the cluster. This is excellent. But notice something important. Argo CD does not really answer the question of promotion.</p><p>Argo CD is primarily concerned with:</p><blockquote><em>“Does the cluster match the desired state?”</em></blockquote><p>Promotion is a different question:</p><blockquote><em>“Should this version become the desired state of the next environment?”</em></blockquote><p>Those two questions are related, but they are not the same thing.</p><h4>Deployment and promotion are different problems</h4><p>Imagine you have three environments: <strong>Development → Staging → Production</strong></p><p>A new image appears. You don’t necessarily want that new image to be deployed directly to production. Instead, you want it to be validated sequentially across your environments.</p><p>First, it gets deployed to <strong>development</strong>. If it passes the required tests and validations, it can be promoted to <strong>staging</strong>. After being successfully validated in staging, it can finally be promoted to <strong>production</strong>.</p><h3>So, what exactly is Kargo?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zj0irYEcDT-otrxJA5I14Q.png" /></figure><p>Kargo is a continuous promotion platform designed to manage the progression of application versions and configuration through different environments. Its model revolves around a few concepts:</p><ul><li>Warehouses</li><li>Freight</li><li>Stages</li><li>Promotions</li></ul><p>Kargo can watch your artifact sources through a <strong>Warehouse</strong>. When it discovers a new relevant version, that version becomes <strong>Freight</strong>. Think of Freight as: <em>“This is a specific release candidate that can now be promoted.”. </em>For example Kargo calls it Freight #42 .</p><p>Now you have something that can move through your environments. A <strong>Stage</strong> represents one of these environments. A <strong>Promotion</strong> is the operation that moves Freight from one Stage to another. This gives Kargo a very different role from Argo CD.</p><h3><strong>Kargo vs Argo</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73FSmSVh8neYoE_UQsAjtg.jpeg" /></figure><p>Let’s make the distinction concrete.</p><p>Argo CD essentially says, <em>“Here is the desired state. I will make Kubernetes converge toward it.”</em></p><p>Kargo, on the other hand, says, <em>“We have a new release. Let’s determine whether and how it should move through our environments.”</em></p><p>In a typical setup, Kargo handles the promotion of a release — for example, deciding that version 1.42 should move from development to staging—by updating the Git or configuration that represents the desired state. Argo CD then detects that change, synchronizes it, and performs the actual deployment to Kubernetes. Kargo does not need to replace Argo CD; in fact, one of its strengths is that it works alongside Argo CD. This separation of responsibilities is useful: <strong>Kargo handles release orchestration and promotion, while Argo CD handles GitOps reconciliation and deployment.</strong></p><h4>But couldn’t Argo CD Image Updater do this?</h4><p>Argo CD Image Updater already solves an important problem: <strong>“A new image exists. Update my application to use it.”</strong> This works well when your requirement is simply to automatically deploy newly available images. However, once you introduce multiple environments, validation gates, approvals, and controlled progression, the problem becomes more than updating an image reference. You need a mechanism to decide <strong>which release is eligible for promotion, when it should move forward, and what conditions must be satisfied before it does</strong>.</p><p>This is where Kargo adds value. Rather than independently discovering and deploying images in each environment, Kargo provides a promotion workflow around a specific release and maintains its progression across Stages. This makes the release itself the unit of promotion, rather than the image update. <strong>Image Updater automates the discovery and updating of image versions; Kargo orchestrates how a validated release progresses through the delivery pipeline.</strong></p><h4>Then what about Argo Rollouts?</h4><p>This is probably the most common source of confusion. The names make it sound like Kargo and Argo Rollouts are competing solutions, but they operate at different layers. Suppose Kargo has already promoted version 1.42 to production. You now have a different problem: <strong>“How should we safely release </strong><strong>1.42 to users?”</strong> Instead of immediately sending 100% of traffic to the new version, you might start with a small percentage and progressively increase it while monitoring the system:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*Q8ldh4mWjqGsieu-y9hBHg.png" /></figure><p>This is where <strong>Argo Rollouts</strong> comes in. It provides mechanisms such as canary deployments, blue-green deployments, traffic shifting, automated analysis, progressive promotion, and rollback. The separation becomes clear:</p><blockquote><strong>Kargo asks: “</strong>Should version 1.42 move to production?<strong>”</strong></blockquote><blockquote><strong>Argo CD asks: “</strong>How do I make the cluster match the desired state?<strong>”</strong></blockquote><blockquote><strong>Argo Rollouts asks: “</strong>How should version 1.42 be progressively exposed to users?<strong>”</strong></blockquote><p>These components are not mutually exclusive; they can work together as different parts of the same delivery pipeline.</p><h3>The real value of Kargo</h3><p>The interesting thing about Kargo isn’t that it can update an image. Lots of tools can do that. Its real value is that it makes <strong>promotion a first-class concept</strong>.</p><p>Without a dedicated promotion layer, teams often encode promotion implicitly through a collection of Git operations and CI/CD pipelines: a change is merged into a development branch, a pipeline modifies staging configuration, another pipeline prepares a production change, and eventually someone approves a production deployment. The process exists, but the platform doesn’t necessarily understand the underlying concept: <strong>a specific release is progressing through a series of environments</strong>.</p><p>Kargo makes that model explicit. An artifact becomes Freight, Freight is associated with a Stage, and a Promotion moves that Freight through the delivery pipeline. This allows the system to reason about releases as they progress rather than simply reacting to changes in configuration.</p><p>That distinction becomes increasingly valuable as the number of applications, environments, clusters, and deployment policies grows. What starts as a few Git changes and pipeline steps can otherwise become a complicated collection of implicit rules that determine how releases move through the organization.</p><h3>Do you actually need Kargo?</h3><p>Probably not if you have a simple setup.</p><p>If your entire deployment process is Git → Argo CD → Kubernetes, then adding Kargo just because it is popular would add unnecessary complexity. Likewise, if your only requirement is “Automatically deploy the newest image,” Argo CD Image Updater may be enough. And if your problem is “I need canary deployments,” Argo Rollouts is probably the right tool.</p><p>Kargo becomes compelling when your delivery process is more complex: multiple environments, multiple clusters, environment-specific configuration, automated validation, approval gates, promotion policies, and a need to track exactly which release has reached which environment. At that point, manually coordinating Git branches, tags, image references, Helm values, and deployment pipelines can start becoming its own release-management system.</p><p>Kargo gives that process an explicit model.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=078594c92955" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Operating ScyllaDB with Scylla Manager: Backups, Repairs, and Restores]]></title>
            <link>https://medium.com/@amirhebrahimzade/operating-scylladb-with-scylla-manager-backups-repairs-and-restores-ed04e174637f?source=rss-e7cc4fa1327b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed04e174637f</guid>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[scyllamanager]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[scylladb]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Amirhossein Ebrahimzade]]></dc:creator>
            <pubDate>Fri, 15 May 2026 13:05:49 GMT</pubDate>
            <atom:updated>2026-05-16T11:43:12.696Z</atom:updated>
            <content:encoded><![CDATA[<p>Why should we use Scylla Manager to Operate our monstrous ScyllaDB?</p><p>This story explains. focusing on how it simplifies backups, repairs, restores, tasks and all you need for your production environment, also an introduction on commands (sctool cli) and best practices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*4RVJO5JNCJev28d4.png" /></figure><p>If you have a large-scale NoSQL workload and have suffered from the latency issues with Cassandra because of its JVM nature, or from GC problems or hardware costs, you must have heard about <strong>ScyllaDB</strong>. In this blog post, We will discuss about two aspects: Why I think ScyllaDB deserves to be considered by you and It’s offering Pros, and How I run <strong>Scylla Manager </strong>on a daily basis.</p><h3>Why ScyllaDB?</h3><p>ScyllaDB is an alternative implementation to Apache Cassandra, implemented in C++ atop the <a href="https://seastar.io/">Seastar</a> framework. ScyllaDB implements the same protocol, CQL, as well as the same data model; however, it operates in a fundamentally different manner and underneath it’s a completely different beast.</p><p>Here’s why I keep recommending it:</p><ul><li><strong>No JVM, no GC pauses:</strong> Scylla is written in C++ with a shared-nothing, shard-per-core architecture. Each core owns a slice of the data and never contends with another core for it. That removes a huge class of latency outliers.</li><li><strong>5–10x the throughput on the same hardware:</strong> Benchmarks consistently show Scylla doing several times more operations per second than Cassandra on identical machines. That’s the result of removing the JVM, doing async I/O everywhere, and pinning workloads to cores.</li><li><strong>Predictable p99 latency: </strong>Because there’s no stop-the-world GC, tail latency stays flat under load. For real-time systems (ad tech, IoT, observability), this matters more than raw throughput.</li><li><strong>Cassandra-compatible: </strong>CQL, drivers, tooling, even SSTable format. You can migrate without rewriting your application.</li><li><strong>Self-tuning: </strong>Scylla detects your hardware and configures itself. No more tuning a hundred YAML knobs to get reasonable performance.</li><li><strong>Workload prioritization:</strong> You can isolate OLTP traffic from analytics queries inside the same cluster.</li></ul><p>For most teams using Cassandra today, switching to Scylla is the single highest-ROI infrastructure change available and provides better performance.</p><h3>What is Scylla Manager and Why?</h3><p>Running Scylla is one thing — operating it safely in production is another. <strong>Scylla Manager</strong> is the official operations tool from ScyllaDB. It gives you:</p><ul><li>Automated, cluster-wide <strong>repairs</strong> that are token-range-aware and parallelism-controlled</li><li>Local / S3 stored Backups, running in desired intervals</li><li>Suspend/resume controls so backups don’t compete with deploys or maintenance</li><li>Restore from any past backup, to the same cluster or a different one</li><li>A REST API and a CLI <em>sctool</em> for everything</li><li>Health monitoring of nodes (<em>healthcheck</em> tasks)</li></ul><h4>How it fits together:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*xIKPALA7L4dCdkX4WLkeJw.png" /><figcaption>Scylla manager Management Flow</figcaption></figure><p>ScyllaDB Manager is typically deployed on a dedicated management host, but it still requires access to a running ScyllaDB instance because the Manager persists its own metadata, task history, repair state, backup schedules, and operational data inside a ScyllaDB database. In practice, this means the Scylla Manager server must either run alongside a ScyllaDB node locally or connect to an existing ScyllaDB cluster designated to store Manager state. The Manager itself does not directly perform repairs or backup streaming on cluster nodes. Instead, it orchestrates operations centrally and communicates with the lightweight Scylla Manager Agent running on each Scylla node.</p><p>Every database node participating in management operations must have the Scylla Manager Agent installed and running. The agent is responsible for executing node-local tasks such as repair coordination, snapshot creation, SSTable upload/download operations to object storage (for example S3-compatible storage), and reporting node status back to the Manager server. Communication between the Manager server and the agents occurs over the agent API 10001 and CQL 9042, allowing the Manager to coordinate cluster-wide activities without requiring direct low-level execution on the database nodes themselves.</p><blockquote>In automated deployments, such as with Ansible playbooks provided for Scylla deployments, the Scylla Manager Agent is usually installed by default on every Scylla node. Therefore, before registering a cluster with Scylla Manager, the agents are typically already present and enabled, allowing the Manager server to immediately discover and orchestrate the nodes once connectivity and authentication are configured. Please check it and if scylla manager agent is installed on your scylladb nodes, you can skip step2.</blockquote><h4>Setup</h4><blockquote>In this setup, backups going to an S3-compatible bucket called cluster-backup. Substitute your own values throughout and choose a compatible Scylla Manager version based on your installed ScyllaDB. For more info read <a href="https://manager.docs.scylladb.com/stable/compatibility-matrix.html">compatibility matrix</a>.</blockquote><p><strong>Step 1: Deploy Scylla Manager with Docker Compose</strong></p><pre>services:<br>  scylla-manager:<br>    image: scylladb/scylla-manager:3.8.0<br>    container_name: scylla-manager<br>    ports:<br>      - &quot;5080:5080&quot;<br>    environment:<br>      - SCYLLA_MANAGER_DB_HOST=scylla-manager-db<br>      - SCYLLA_MANAGER_DB_PORT=9042<br>    networks:<br>      - scylla-manager<br>    depends_on:<br>      - scylla-manager-db<br>    restart: unless-stopped<br><br>  scylla-manager-db:<br>    image: scylladb/scylla:2025.3.2<br>    container_name: scylla-manager-db<br>    volumes:<br>      - scylla-manager-db-data:/var/lib/scylla<br>    command: --smp 1 --memory 1G --overprovisioned 1 --api-address 0.0.0.0<br>    ports:<br>      - &quot;9042:9042&quot;<br>    networks:<br>      - scylla-manager<br>    restart: unless-stopped<br><br>volumes:<br>  scylla-manager-db-data:<br><br>networks:<br>  scylla-manager:<br>    driver: bridge</pre><blockquote>Scylla Manager needs its own small Scylla instance as a metadata store:</blockquote><blockquote>The metadata DB is limited to 1 CPU and 1Gb RAM. Scylla Manager’s footprint is small and you don’t want it competing for resources on the host.</blockquote><blockquote>Port 5080 is the Scylla Manager REST API. That’s what sctool connects to.</blockquote><blockquote>The data volume persists task definitions and backup history across restarts.</blockquote><p>Then bring it up:</p><pre>docker compose up -d</pre><p>You can now exec into the Manager and run sctool:</p><pre>docker exec -it scylla-manager sctool version<br>docker exec -it scylla-manager sctool status</pre><p>For convenience, alias it on your shell:</p><pre>alias sctool=&#39;docker exec -it scylla-manager sctool&#39;</pre><p><strong>Step 2: Install the Manager Agent on Every Node</strong></p><p>On each Scylla node:</p><pre># RHEL/CentOS<br>sudo yum install scylla-manager-agent<br># Debian/Ubuntu<br>sudo apt install scylla-manager-agent</pre><p>Generate a shared auth token once on any node and reuse it everywhere:</p><pre>scyllamgr_auth_token_gen</pre><p>Put that token into /etc/scylla-manager-agent/scylla-manager-agent.yaml on <strong>every node</strong>:</p><pre>auth_token: &quot;&lt;your-generated-token&gt;&quot;</pre><p>Then run the setup wizard and start the agent:</p><pre>sudo scyllamgr_agent_setup<br>sudo systemctl enable scylla-manager-agent</pre><p><strong>Step 3: Register the Cluster</strong></p><p>Point Scylla Manager at any single node — Manager will auto-discover the rest of the cluster:</p><pre>sctool cluster add \<br>  --name prod \<br>  --host &lt;any-node-ip&gt; \<br>  --auth-token &quot;&lt;your-generated-token&gt;&quot; \<br>  --username &lt;cql-user&gt; \<br>  --password &lt;cql-password&gt;</pre><blockquote>auth-tokenmust match the token in every agent config file.</blockquote><blockquote>username / password are your CQL credentials, used by Manager to introspect schema during backups.</blockquote><p>Verify the cluster is healthy:</p><pre>sctool cluster list<br>sctool status -c prod</pre><p>Managing clusters:</p><pre>sctool cluster update -c prod --name production<br>sctool cluster delete -c prod</pre><p><strong>Step 4: Configure the Backup Location</strong></p><p>On <strong>every node</strong>, add an <strong>s3</strong> block to /etc/scylla-manager-agent/scylla-manager-agent.yaml:</p><pre>s3:<br>  access_key_id: &quot;&lt;your-access-key&gt;&quot;<br>  secret_access_key: &quot;&lt;your-secret-key&gt;&quot;<br>  provider: Minio<br>  endpoint: https://s3.example.com<br>  force_path_style: true<br>  chunk_size: 256M</pre><blockquote>provider: Minio for Minio, AWS for real S3, leave empty for auto-detect. Other supported values include Wasabi, Ceph, DigitalOcean, Alibaba. For GCS, replace the s3 block with gcs, and for Azure use azure. Each provider has its own credential fields documented in the Scylla Manager Agent config reference.</blockquote><blockquote><strong>Caution:</strong> scylla Manager uses rclone to manage data between nodes and s3, make sure that bucket permissions are satisfied.</blockquote><p>Restart the agent on each node after editing:</p><pre>sudo systemctl restart scylla-manager-agent</pre><p>Then verify connectivity from <strong>every node</strong>:</p><pre>scylla-manager-agent check-location \<br> - location s3:cluster-backup \<br> - debug</pre><p>If even one node fails this check, the backup task will fail — that node won’t be able to upload its share of the data.</p><p><strong>Step 5: Dry-Run and Schedule a Backup</strong></p><pre>sctool backup -c prod -L &#39;s3:cluster-backup&#39; --dry-run</pre><p>Schedule the real thing:</p><pre>sctool backup \<br>  -c prod \<br>  -L &#39;s3:cluster-backup&#39; \<br>  --retention 7 \<br>  -s &#39;2026-06-01T22:30:00Z&#39; \<br>  -i 24h</pre><blockquote>--retention 7 keeps the last 7 backups, prune the rest automatically.</blockquote><blockquote>-srun starts at this UTC timestamp. Pick an off-peak window.</blockquote><blockquote>-i 24h runs backup every 24 hours.</blockquote><p>More backup options:</p><pre>sctool backup -c prod -L &#39;s3:cluster-backup&#39; \<br>  -K &#39;app_keyspace,users.profiles,users.sessions&#39; \<br>  --rate-limit 100 \<br>  --upload-parallel &#39;dc1:2,dc2:1&#39; \<br>  --snapshot-parallel &#39;dc1:1&#39; \<br>  --purge-only \<br>  --dc &#39;dc1,!dc-analytics&#39; \<br>  -i 6h</pre><blockquote>-K/ --keyspace limit to specific keyspaces or `keyspace.table` patterns. Prefix with `!` to exclude.</blockquote><blockquote>--rate-limit MB/s per node uploaded to object storage. Crucial for noisy-neighbor protection.</blockquote><blockquote>--upload-parallel / --snapshot-parallel controls how many nodes per datacenter work simultaneously.</blockquote><blockquote>--purge-only only delete expired backups, don’t create new ones.</blockquote><blockquote>--dcfilters datacenters, with the same! exclusion syntax.</blockquote><p>Verify backups landed:</p><pre>sctool backup list -c prod<br>sctool backup list -c prod --all-clusters<br>sctool backup files -c prod --snapshot-tag sm_20260601223000UTC</pre><p>After the first run completes, subsequent runs are incremental, only new SSTables are uploaded.</p><p><strong>Step 6:</strong> <strong>Schedule Repairs</strong></p><p>Backups are half the job. The other half is keeping replicas consistent. Repair scans token ranges and reconciles differences between replicas, which prevents resurrected-tombstone bugs and corrects entropy from missed writes during outages. Running weekly repairs, on every keyspace, on every cluster of Scylla Manager makes this painless.</p><p>It’s needed to mentioned, when you setup a scylla manager on your cluster, it schedules a weekly repair on all of keyspaces.</p><p>but for doing it manually:</p><pre>sctool repair \<br>  -c prod \<br>  -i 7d \<br>  -s &#39;2026-06-01T03:00:00Z&#39; \<br>  --intensity 1 \<br>  --parallel 0</pre><blockquote>--intensity fraction of token ranges repaired per shard at once. 1 is the safe default; increase only if your cluster is under-utilized.</blockquote><blockquote>--parallel 0lets Manager pick the maximum safe parallelism. Set to a number (e.g. 2) to cap it.</blockquote><blockquote>Repairs are resumable, fault-tolerant, and idempotent. If a node restarts mid-repair, Manager picks up exactly where it left off.</blockquote><p><strong>Step 7: Restore</strong></p><p>List available snapshots:</p><pre>sctool backup list -c prod -L &#39;s3:cluster-backup&#39;</pre><p>You’ll see snapshot tags like sm_20260601223000UTC . To restore the schema first, then the data, run two restore tasks:</p><pre>sctool restore \<br>  -c prod-staging \<br>  -L &#39;s3:cluster-backup&#39; \<br>  --snapshot-tag sm_20260601223000UTC \<br>  --restore-schema<br><br>sctool restore \<br>  -c prod-staging \<br>  -L &#39;s3:cluster-backup&#39; \<br>  --snapshot-tag sm_20260601223000UTC \<br>  --restore-tables \<br>  -K &#39;app_keyspace&#39;</pre><blockquote>The target cluster must have the same number of nodes as the source cluster at backup time (or you must restore in compatible-topology mode).</blockquote><blockquote>restore-schema requires the target cluster to be empty of the schema you’re restoring.</blockquote><blockquote>After table restore completes, you typically want to run a repair: sctool repair -c prod.</blockquote><h4><strong>Task Management:</strong></h4><p>Everything in Scylla Manager is a task. Backups, repairs, healthchecks, restores.</p><p><strong>List, inspect, and follow tasks:</strong></p><pre>sctool task list -c prod<br>sctool task list -c prod --all<br>sctool task list -c prod --type backup<br>sctool task list -c prod --status ERROR<br><br>sctool info -c prod &lt;task-id&gt;<br><br>sctool progress -c prod &lt;task-id&gt;<br>sctool progress -c prod &lt;task-id&gt; --details</pre><p><strong>Start, stop, suspend, delete:</strong></p><pre>sctool task start -c prod &lt;task-id&gt;<br>sctool task stop  -c prod &lt;task-id&gt;<br>sctool task delete -c prod &lt;task-id&gt;<br><br>sctool task update -c prod &lt;task-id&gt; --interval 12h --enabled true<br><br>sctool suspend -c prod<br>sctool resume  -c prod</pre><p><strong>History:</strong></p><pre>sctool task history -c prod &lt;task-id&gt;<br>sctool task history -c prod &lt;task-id&gt; --limit 20</pre><h4>Best Practices:</h4><ul><li><strong>Run backups daily, repairs weekly, health checks continuously.</strong></li><li><strong>Use object lifecycle policies as a second line of defense.</strong> Manager retention removes old snapshots, but bucket-level versioning protects against Manager misconfiguration.</li><li><strong>Rate-limit aggressively in production.</strong> A backup that takes four hours without impacting tail latency is better than a one-hour backup that spikes p99 latency.</li><li><strong>Pin specific image versions</strong> in your docker-compose.yml. Do not track latest.</li><li><strong>Back up Scylla Manager itself.</strong> The scylla-manager-db-data volume stores task definitions and history. Snapshot it regularly.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed04e174637f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>