|
| 1 | +<p align="center"> |
| 2 | + <img alt="CYBERTEC Migrator" width="300px" src="https://www.cybertec-postgresql.com/wp-content/uploads/2018/03/Migrator_neu-300x79.png"/> |
| 3 | + <br/><br/> |
| 4 | + <i>Streamlined Oracle to PostgreSQL migration</i> |
| 5 | +</p> |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +<p align="center"> |
| 10 | + <a href="#getting-started">Getting Started</a> • |
| 11 | + <a href="#running-the-migrator">Running the Migrator</a> • |
| 12 | + <a href="#contact">Contact</a> |
| 13 | +</p> |
| 14 | + |
| 15 | +[_CYBERTEC Migrator_](https://www.cybertec-postgresql.com/en/products/cybertec-migrator/) is a streamlined and user-friendly tool that helps you to organize and efficiently migrate multiple Oracle databases to PostgreSQL. |
| 16 | +In addition to migrating your data professionally and securely with minimum effort, _CYBERTEC Migrator_ allows you to visually monitor and track the whole process at any time. |
| 17 | + |
| 18 | +<br/> |
| 19 | + |
| 20 | +<p align="center"> |
| 21 | + <a href="http://www.youtube.com/watch?v=8hSrFVOw3Rc"><img alt="CYBERTEC Migrator v3 Demonstration" width="384px" src="http://img.youtube.com/vi/8hSrFVOw3Rc/0.jpg"/></a><br/> |
| 22 | + <b>Product Demo</b> |
| 23 | +</p> |
| 24 | + |
| 25 | +--- |
| 26 | + |
| 27 | +For detailed information see the list of [supported migration features for Oracle](docs/oracle-migration-support.md). |
| 28 | + |
| 29 | +## Table of Contents |
| 30 | + |
| 31 | +1. [What's New](#whats-new) |
| 32 | +2. [Getting Started](#getting-started) |
| 33 | +3. [Running the Migrator](#running-the-migrator) |
| 34 | +4. [Contact](#contact) |
| 35 | + |
| 36 | +## What's New |
| 37 | + |
| 38 | +- `v3.0.0` |
| 39 | + |
| 40 | + With _CYBERTEC Migrator_ v3 we've rebuilt the GUI from the ground up to simplify database migrations even further |
| 41 | + |
| 42 | + - Get a brief look at the structure of your source database by using the migration _Overview_ |
| 43 | + - Quickly drill down into your data model with the help of the new _Sidebar_ |
| 44 | + - Stages (natural synchronization points of a migration process) now guide you through the migration process |
| 45 | + - **Structure** stage: create database objects necessary to migrate the table data |
| 46 | + - **Data** stage: migrate table data in parallel |
| 47 | + - **Logic** stage: create functions, triggers, views |
| 48 | + - **Integrity** stage: parallel creation of primary keys, indices, foreign keys, and constraint checks |
| 49 | + - Enjoy quick round trips and gain confidence in the correctness of your migration thanks to the reworked _Migration Controls_ |
| 50 | + - **Start** migration from the beginning |
| 51 | + - **Rerun stage** in case of an error |
| 52 | + - **Continue** to next stage |
| 53 | + - **Abort** migration and restart at any time |
| 54 | + - Explore the inner workings of your migration with the new, and easily accessible _Log View_ |
| 55 | + - Log entries are inter-linked to the database objects configuration |
| 56 | + - Filter on log level (`ERROR`, `WARNING`, `INFO`, `VERBOSE`) |
| 57 | + - Extensive configuration |
| 58 | + - Exclude database objects (schemas, tables, columns, indexes, ...) from migration |
| 59 | + - Table editor to configure columns, constraints, indices, triggers, and partitions |
| 60 | + - Bulk change of data types (for example change all `NUMBER(4)` to `int`, instead of `smallint`) |
| 61 | + - Integrated code editor for functions, stored procedures, and views with diff feature |
| 62 | + |
| 63 | +## Getting Started |
| 64 | + |
| 65 | +### Requirements |
| 66 | + |
| 67 | +_CYBERTEC Migrator_ is distributed as a set of [Docker](https://www.docker.com/) images that are brought up by [Docker Compose](https://docs.docker.com/compose/). |
| 68 | + |
| 69 | +- [`docker`](https://docs.docker.com/get-docker/) |
| 70 | +- [`docker-compose`](https://docs.docker.com/compose/install/) (`>= 1.27.0`) |
| 71 | +- `git` (`>= 2.20.1`) |
| 72 | +- `bash` (`>= 4.0`) |
| 73 | + |
| 74 | +### Obtaining Images |
| 75 | + |
| 76 | +_CYBERTEC Migrator_ images can be obtained through Docker Hub. |
| 77 | +An offline installation package is also available for environments in which networking restrictions are imposed. |
| 78 | + |
| 79 | +- Docker Hub |
| 80 | + Please [get in touch with us](#contact) if your account has not been granted access to the respective images. |
| 81 | + |
| 82 | + ```sh |
| 83 | + cat ~/password.txt | docker login --username <username> --password-stdin |
| 84 | + ``` |
| 85 | + |
| 86 | +- Offline installation package |
| 87 | + Please [get in touch with us](#contact) to request download credentials. |
| 88 | + |
| 89 | +### Setup |
| 90 | + |
| 91 | +- Online installation |
| 92 | + |
| 93 | + 1. Clone the repository |
| 94 | + 2. Change directory into cloned repository |
| 95 | + 3. Generate default configuration |
| 96 | + 4. Download images |
| 97 | + |
| 98 | + <br/> |
| 99 | + |
| 100 | + ```sh |
| 101 | + git clone https://github.com/cybertec-postgresql/cybertec_migrator |
| 102 | + cd cybertec_migrator |
| 103 | + ./migrator configure |
| 104 | + ./migrator install |
| 105 | + ``` |
| 106 | + |
| 107 | +- Offline installation |
| 108 | + |
| 109 | + | 💡 | Installation archives also serve as upgrade archives | |
| 110 | + | --- | ---------------------------------------------------- | |
| 111 | + |
| 112 | + 1. Extract the provided archive file |
| 113 | + 2. Change directory to the directory created in the previous step |
| 114 | + 3. Generate default configuration |
| 115 | + 4. Import images from archive |
| 116 | + |
| 117 | + <br/> |
| 118 | + |
| 119 | + ```sh |
| 120 | + tar xf cybertec_migrator-vX.Y.Z.tar.gz |
| 121 | + cd cybertec_migrator |
| 122 | + ./migrator configure |
| 123 | + ./migrator install --archive ../cybertec_migrator-vX.Y.Z.tar.gz |
| 124 | + ``` |
| 125 | + |
| 126 | +## Running the Migrator |
| 127 | + |
| 128 | +```sh |
| 129 | +./migrator up |
| 130 | +``` |
| 131 | + |
| 132 | +CYBERTEC Migrator only supports connections via HTTP. |
| 133 | + |
| 134 | +The `EXTERNAL_HTTP_PORT` variable in the `.env` file (generated by `./migrator configure`) controls on which port the Migrator is served. |
| 135 | + |
| 136 | +### Upgrades |
| 137 | + |
| 138 | +| ⚠️ | Running migrations _will_ be interrupted by applying upgrades | |
| 139 | +| --- | ------------------------------------------------------------- | |
| 140 | + |
| 141 | +- Online upgrade |
| 142 | + |
| 143 | + 1. Update release information |
| 144 | + 2. Upgrade to newest version |
| 145 | + 3. Apply upgrade |
| 146 | + |
| 147 | + <br/> |
| 148 | + |
| 149 | + ```sh |
| 150 | + ./migrator update |
| 151 | + ./migrator upgrade |
| 152 | + ./migrator up |
| 153 | + ``` |
| 154 | + |
| 155 | +- Offline upgrade |
| 156 | + |
| 157 | + 1. Update release information |
| 158 | + 2. Upgrade to version bundled in archive |
| 159 | + 3. Apply upgrade |
| 160 | + |
| 161 | + <br/> |
| 162 | + |
| 163 | + ```sh |
| 164 | + ./migrator update --archive cybertec_migrator-vX.Y.Z.tar.gz |
| 165 | + ./migrator upgrade --archive cybertec_migrator-vX.Y.Z.tar.gz |
| 166 | + ./migrator up |
| 167 | + ``` |
| 168 | + |
| 169 | +## Contact |
| 170 | + |
| 171 | +- [Sales](https://www.cybertec-postgresql.com/en/contact/) |
| 172 | +- [Report Bug](https://cybertec.atlassian.net/servicedesk/customer/portal/3/group/4/create/23) |
0 commit comments