Embulk helps in transferring data between types of databases, storages, file formats, cloud services, and else.
Requirements:
Embulk v0.9 and v0.10 run on Java 8. (Java 9 is not supported officially)
curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar" chmod +x ~/.embulk/bin/embulk echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc source ~/.bashrcCheck version
java --versionUpdate repositories and install OpenJDK version 8
sudo apt-get update sudo apt-get install openjdk-8-jdkIf version is not set correctly (if multiple versions of Java is installed), change java version:
sudo update-alternatives --config javaJava installation docs:
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04 https://docs.datastax.com/en/jdk-install/doc/jdk-install/installOpenJdkDeb.html
- example-01: CSV in GZip file to StdOut
- example-02: CSV to GZip file
- example-03: CSV to PostgreSQL
- example-04: PostgreSQL to MySQL
