Automates the verification of database backup restorability by repeatedly testing restore operations until successful or maximum iterations reached.
Verify backup restorability
Run this loop in your terminal to validate database backup integrity through restore testing.
Open CLI Tool
Launch Cursor, Claude Code, Codex, OpenCode, or Gemini CLI in your database project directory.
Initiate Loop
Execute the kickoff prompt to start the backup verification process.
Monitor Execution
Observe automated restore test attempts and verify successful completion.
Locate latest backup file
Verify backup file path and integrity
Prepare test environment
Initialize temporary database instance
Execute restore test command
Run restore test against backup file
Database
Automatically detects and resolves schema drift between your database and ORM models by iteratively applying necessary migrations and verifying alignment.
Database
This loop identifies and repairs broken foreign key relationships in a relational database. It systematically detects constraint violations, proposes corrective actions, and validates fixes until all foreign key checks pass.
Database
An automated workflow to identify, analyze, and optimize slow-running database queries through iterative benchmarking and targeted improvements.
Validate restore outcome
Confirm restore completed without errors
Cleanup test environment
Remove temporary database instance
Evaluate exit condition
If restore succeeds, exit loop; else repeat until max iterations
Start the "Backup Verification" loop. Goal: Verify backup restorability Max iterations: 10 Between iterations run: restore test Exit when: Restore succeeds Begin Backup Verification Loop. Execute restore test command and verify backup restorability. Continue until successful restore or 10 iterations. Self-pace this loop. After each iteration, run `restore test` and evaluate the output, and only continue if the exit condition is not met (Restore succeeds). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.