MCPcopy Index your code
hub / github.com/YeDawa/DumpSync

github.com/YeDawa/DumpSync @0.1.38

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.38 ↗ · + Follow
325 symbols 577 edges 82 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DumpSync is a lightweight tool designed for efficiently dumping and restoring MySQL databases. Whether you need to create backups, restore databases, or transfer data between servers, DumpSync provides a simple and automated solution.

Features

Some of the key features of DumpSync include:

  • Automated Backups: Schedule regular database dumps at configurable intervals.
  • Flexible Configuration: Easily configure settings using environment variables or command-line arguments.
  • Simple Restoration: Quickly restore your database from previously created dump files.
  • Cross-Server Transfers: Seamlessly transfer databases between different MySQL servers.
  • XSS Scanner: Scan for XSS vulnerabilities in tables to enhance security.
  • XSS Report: Generate a detailed report of XSS vulnerabilities found in the database.
  • Share: Share your dump or scan results with others.
  • Schema: Generate a schema file for the database.
  • Encryption: Encrypt your dump files for added security.
  • Compression: Compress your dump files to save disk space.
  • Checksum: Verify the integrity of your dump files using checksums.
  • PDF Report: Generate PDF reports for your dump files and your settings.
  • Truncate: Truncate tables to remove all data from the specified table.
  • Visual: Visualize the table structure of a database.
  • Pull: Pull the latest changes from a remote database to your local environment.
  • History: View the history of actions performed by the DumpSync tool.
  • Pattern Matching: Use patterns to exclude specific tables or lines during restore operations.
  • Lock tables: Lock tables during dump operations to ensure data consistency.
  • Dump Data: Dump data from specific tables or the entire database.
  • Import Data: Import data from a JSON dump file into the database.

Installation

To install DumpSync, use the following command:

Make sure you have Rust installed on your system. If not, you can install it from here.

cargo install dumpsync

To install using Scoop, run:

scoop bucket add dumpsync https://github.com/YeDawa/DumpSync.git

scoop install dumpsync

Documentation

For more help and document, see our documentation:

License

This project is licensed under the MIT License. See the LICENSE file for details.

Core symbols most depended-on inside this repo

get
called by 36
src/cloud/api.rs
as_str
called by 28
src/constants/urls.rs
push
called by 20
src/cloud/push.rs
as_str
called by 13
src/handlers/mysql/mysql_keywords.rs
create_mysql_pool
called by 12
src/cmd/connection.rs
load_db_config
called by 11
src/init.rs
add_text
called by 10
src/plugins/reports_pdf.rs
boolean
called by 8
src/helpers/configs.rs

Shape

Method 230
Class 84
Enum 10
Function 1

Languages

Rust100%

Modules by API surface

src/handlers/mysql/mysql_queries_builders.rs21 symbols
src/args_cli.rs13 symbols
src/core/dump.rs11 symbols
src/ui/success_alerts.rs10 symbols
src/core/import_data.rs9 symbols
src/ui/errors_alerts.rs8 symbols
src/plugins/reports_xss.rs8 symbols
src/handlers/mysql/mysql_export_handlers.rs8 symbols
src/utils/file.rs7 symbols
src/helpers/configs.rs7 symbols
src/dumper.rs7 symbols
src/core/import.rs7 symbols

For agents

$ claude mcp add DumpSync \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact