# How to Run Import Script

Follow these steps to run the run_archive_migration_import script:

1. Verify that pip or pip3 python package installer is installed in your machine.

2. Navigate to the location of the `requirements.txt` file under the import directory in your terminal.

3. For pip run:  pip install -r requirements.txt

   For pip3 run: pip3 install -r requirements.txt

4. Run in interactive mode:

   Linux:`run_archive_migration_import.sh`

   Windows:`run_archive_migration_import.bat`

5. Run in non-interactive mode:

    Linux:```run_archive_migration_import.sh --tenant_aapi_url=<mandatory_value> --aapi_token=<mandatory_value> --export_files_folder=<mandatory_value> [--python_exe=<optional_value>]```

    Windows:```run_archive_migration_import.bat --tenant_aapi_url=<mandatory_value> --aapi_token=<mandatory_value> --export_files_folder="<mandatory_value>" [--python_exe=<optional_value>]```

* Ensure to replace `<mandatory_value>` with the appropriate values for `--tenant_aapi_url`, `--aapi_token`, and `--export_files_folder`. Optionally, you can provide a value for `--python_exe` if needed.


# How to Run Import Status Script

Follow these steps to run the run_archive_migration_import script:

1. Verify that pip or pip3 python package installer is installed in your machine.

2. Navigate to the location of the `requirements.txt` file under the import directory in your terminal.

3. For pip run:  pip install -r requirements.txt

   For pip3 run: pip3 install -r requirements.txt

4. Run in interactive mode:

   Linux:`run_archive_migration_report.sh`

   Windows:`run_archive_migration_report.bat`

5. Run in non-interactive mode:

    Linux:```run_archive_migration_report.sh --tenant_aapi_url=<mandatory_value> --aapi_token=<mandatory_value> --inject_id=<mandatory_value> [--python_exe=<optional_value>]```

    Windows:```run_archive_migration_report.bat --tenant_aapi_url=<mandatory_value> --aapi_token=<mandatory_value> --inject_id="<mandatory_value>" [--python_exe=<optional_value>]```

* Ensure to replace `<mandatory_value>` with the appropriate values for `--tenant_aapi_url`, `--aapi_token`, and `--inject_id`. Optionally, you can provide a value for `--python_exe` if needed.
