Skip to content

Add an option to skip user sync in destination instance with redash-migrate users #105

@yu-iskw

Description

@yu-iskw

Motivation

When I trid to migrate users with redash-migrate users, it doesn't work because a couple of accounts in destination instance exists. One is the first user when setting up the instance. The other twos exists in both, but they logged in using Google OAuth. The most important problem is the first user doesn't exist in source instance. So, we can't prepare for the account information in meta.json.

  1. Is there any way to skip such users to migrate?
  2. My proposal is to add an option to skip sync of some users.
$ redash-migrate users
Importing users...
CAUTION: Some users are missing from the meta.json.
[email protected]
[email protected]
[email protected]
ERROR: not all users in meta are present in destination instance.
Saving meta...

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