Skip to content

feat(workflow): Database Migration for Redis Cloud #264

@joshrotenberg

Description

@joshrotenberg

Overview

Implement a workflow that automates database migration between subscriptions or regions in Redis Cloud.

Workflow Steps

  1. Validate source database accessibility
  2. Create backup of source database
  3. Create target subscription (if needed)
  4. Configure networking on target
  5. Create target database with matching specs
  6. Restore backup to target database
  7. Verify data integrity
  8. Optional: Set up replication for zero-downtime cutover
  9. Provide migration report

Example Usage

redisctl cloud workflow migrate-database \
  --source-subscription 12345 \
  --source-database 67890 \
  --target-region eu-west-1 \
  --verify-data \
  --enable-replication \
  --cutover-at "2024-01-15 02:00 UTC" \
  --output json

Value Proposition

  • Automated migration reduces risk
  • Handles backup/restore complexity
  • Optional zero-downtime with replication
  • Data integrity verification
  • Detailed migration reporting

Acceptance Criteria

  • Backup source database
  • Create/configure target environment
  • Handle different subscription types
  • Restore with verification
  • Optional replication setup
  • Cutover scheduling
  • Rollback capability
  • Progress tracking
  • Migration report generation
  • Documentation and examples

Related to #260 (workflow system implementation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestworkflowWorkflow system features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions