Getting Started with LIFT CLI

About this task

Before proceeding, ensure you have an active Db2 Warehouse SaaS instance. If you have an instance, you're all set! If not, create an instance on Db2 Warehouse SaaS.

Procedure

  1. Download the version of the Lift CLI for your operating system.
  2. Unzip the package to a <zip-extract-directory> directory on your hard drive.
  3. To install the Lift CLI, open a terminal window (macOS or Linux) or command prompt (Windows), and navigate to the <zip-extract-directory> directory. Install the Lift CLI by running the following command:
    % <zip-extract-directory>/install <lift-home>
    

    For example:

    On Linux:
    $ sudo <zip-extract-directory>/install /opt/lift-cli 
    
    On macOS:
    % sudo <zip-extract-directory>/install /opt/lift-cli 
    
    On Windows:
    > <zip-extract-directory>\install.bat C:\lift-cli 
    

    The lift command executable is located in the <lift-home>/bin. After the installation completes, add the <lift-home>/bin to your PATH environment variable. For the rest of this tutorial, we assume that <lift-home>/bin is in your PATH and that the lift command is accessible from your terminal.

    Tip: The lift command can be run by using a properties file to include settings for command options, such as login credentials, and you can reference that file from within the command by using the 
–-properties_file or -pf option. The following is an example of a lift extract command that specifies to use a properties file:

    % lift extract --properties-file <path-to-properties-file>

    The following example shows the format within a properties file that contains login credentials:

    source-user=user1
    source-password=pass1
    target-user=user1
    target-password=pass1
    max-load-errors=500

    CONTINUE WITH A CHOSEN MIGRATION PATH: