Skip to content

Error when running envsync backup: unknown flag --config #2

Description

@il-mentegatto

Hello,

I'm trying to use this tool to migrate configurations from an old Developer Edition tenant to a new Integrator Edition.

I’ve correctly set up the okta-cli-client using an API token (commands like okta-cli-client work as expected). However, when I try to export all the configurations using the okta-dev-account-migration-tool with the command shown in the README:

envsync backup

I get the following output:

Using configuration from C:\Users\Windows10\.okta\okta.yaml
Backing up first pass resources...
Backing up user using lists command...
Error: unknown flag: --config
Usage:
  okta-cli-client user lists [flags]

Flags:
  -h, --help   help for lists

unknown flag: --config
Warning: Failed to execute user lists backup: exit status 1
Backing up group using lists command...
Error: unknown flag: --config
Usage:
  okta-cli-client group lists [flags]

Flags:
  -h, --help   help for lists

unknown flag: --config
Warning: Failed to execute group lists backup: exit status 1
Backing up userType using lists command...
Error: unknown flag: --config
Usage:
  okta-cli-client userType lists [flags]

Flags:
  -h, --help   help for lists

unknown flag: --config
. . .
. . .

(You can find the full output in the attached output.txt file.)

I'm not sure why this is happening. Let me know if you need any more information.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions