A tool for exporting and importing MySQL/MariaDB and PostgreSQL databases with domain replacement support.
- Export/import databases (MySQL/MariaDB & PostgreSQL).
- Domain replacement during import/export (e.g., change
https://example.com
tohttps://newdomain.com
).
-
Clone the repository:
git clone https://github.com/georgs-jegers/multi-engine-db-tool.git cd multi-engine-db-tool
-
Make the script executable:
chmod +x multi-engine-db-tool.sh
-
Run the script:
./multi-engine-db-tool.sh
-
Follow the prompts to:
- Select an operation (Export/Import)
- Choose your database engine (MySQL/MariaDB or PostgreSQL)
- Enter database details (username, password, host, etc.)
- Optionally, replace domains in the database dump.
Georg Eger
This project is licensed under the MIT License. See the LICENSE file for details.