Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahlukedankuranggairah/simple-backup-ci4-clickhouse
MySQl/MariaDB Backup, convert to Parquet, using PHP CodeIgniter4 Framework, Python, and Clickhouse.
https://github.com/mahlukedankuranggairah/simple-backup-ci4-clickhouse
clickhouse codeigniter parquet python3
Last synced: 24 days ago
JSON representation
MySQl/MariaDB Backup, convert to Parquet, using PHP CodeIgniter4 Framework, Python, and Clickhouse.
- Host: GitHub
- URL: https://github.com/mahlukedankuranggairah/simple-backup-ci4-clickhouse
- Owner: MahlukEdanKurangGairah
- License: mit
- Created: 2024-07-22T08:20:51.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-24T02:26:31.000Z (5 months ago)
- Last Synced: 2024-10-14T05:42:00.537Z (2 months ago)
- Topics: clickhouse, codeigniter, parquet, python3
- Language: PHP
- Homepage:
- Size: 966 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SIMPLE BACKUP CI CLICKHOUSE
## What is SIMPLE BACKUP CI CLICKHOUSE?
SIMPLE BACKUP CI CLICKHOUSE is application to backup MySQL/MariaDB database, run on linux.
run on CLI using:- CodeIgniter 4 framework.
- Clickhouse converter from MySQL table to parquet.
- Python as worker executable.## Installation & updates
- run `git clone https://github.com/MahlukEdanKurangGairah/simple-backup-ci4-clickhouse.git`
- `cd simple-backup-ci4-clickhouse`
- `./composer.phar install` then `./composer.phar update`download clickhouse and place it on Executable folder
`cd app/Executable && curl https://clickhouse.com/ | sh`
install python and library on requirements.txt
- `cd app/Executable/sql2mysql' && pip install -r requirements.txt`
- `cd app/Executable/parquet2cockroach' && pip install -r requirements.txt`
- `cd app/Executable/parquet2mysql' && pip install -r requirements.txt`## Setup
Configuration on `app/Config/App.yaml`. change `mysql_conf` (target to backup) and `mysql_restore_conf` (target to restore)configure username and password mysql for target backup and target restore
- `app/Config/client_backup.cnf`
- `app/Config/client_restore.cnf`## Run
`/usr/bin/php public/index.php`backup folder will placed in `backup_folder` with 2 folder 'struktur' and 'parquet'
> [!WARNING]
> This application under heavy development, use as yu wise.