database-copy

Community

Safely copy databases between environments.

Authorleandro-br-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Safely copy databases between environments to restore data after tests, recover from data loss, or synchronize multiple deployments, while ensuring source read-only operations and data integrity.

Core Features & Use Cases

  • Read-only source dumps via network to destination databases.
  • Automatic verification by comparing row counts for core tables (User, Character, Story) before and after copy.
  • Stepwise safety flow: stop destination backend, create dump, restore, verify, restart, and optional cleanup.
  • Use cases include post-test resets, disaster recovery, environment bootstrapping, and cross-environment syncing.

Quick Start

Copy the database from a source environment to a destination environment using the db-copy-from-env script.

Dependency Matrix

Required Modules

pg_dumppsql

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: database-copy
Download link: https://github.com/leandro-br-dev/charhub/archive/main.zip#database-copy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.