inno transplant

Copy specific pages from a donor tablespace into a target.

Usage

# Transplant pages 3 and 5 from donor to target
inno transplant donor.ibd target.ibd -p 3,5

# Preview without modifying
inno transplant donor.ibd target.ibd -p 3,5 --dry-run

# Force transplant (skip safety checks)
inno transplant donor.ibd target.ibd -p 3,5 --force

Options

OptionDescription
donorPath to donor tablespace file (source of pages)
targetPath to target tablespace file (destination)
-p, --pagesPage numbers to transplant (comma-separated)
--no-backupSkip creating a backup of the target
--forceAllow space ID mismatch, corrupt donor pages, and page 0 transplant
--dry-runPreview without modifying the target
-v, --verboseShow per-page details
--jsonOutput in JSON format
--page-sizeOverride page size
--keyringPath to MySQL keyring file

Safety Checks

  • Page sizes must match between donor and target
  • Space IDs must match (unless --force)
  • Page 0 (FSP_HDR) is rejected (unless --force)
  • Donor pages with invalid checksums are skipped (unless --force)
  • A backup of the target is created by default