Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate multiple applications #39

Closed
jpmeijers opened this issue Oct 21, 2021 · 5 comments
Closed

Migrate multiple applications #39

jpmeijers opened this issue Oct 21, 2021 · 5 comments
Assignees
Labels

Comments

@jpmeijers
Copy link

Summary

Some long time TTN users like me have many application and many devices under them. It is a lot of effort keeping track which of these applications and devices were already migrated, and which were not. To make this worse one can't delete applications that are already migrated to clean up the long list of applications.

Before V2 shuts down I would like to dump everything to a json file as a backup. In case I missed a device, I can use this json file to migrate the respective device.

Why do we need this?

Make migrations of many applications easier. Also useful for a backup after V2 shuts down.

What is already there? What do you see now?

Currently I can only export one device or one application to a json file.

What is missing? What do you want to see?

  • Allow specifying a username+password
  • do a lookup for all applications this user has access to
  • lookup application keys for each application automatically
  • export every application

Adding the export to json as an option to the console, as mentioned in #18 would help a lot too.

Environment

...

How do you propose to implement this?

...

How do you propose to test this?

...

Can you do this yourself and submit a Pull Request?

No

@github-actions github-actions bot added the needs/triage We still need to triage this label Oct 21, 2021
@NicolasMrad NicolasMrad added question and removed needs/triage We still need to triage this labels Oct 26, 2021
@johanstokking
Copy link
Member

Before V2 shuts down I would like to dump everything to a json file as a backup. In case I missed a device, I can use this json file to migrate the respective device.

We will do this. Everything that is still there will be exported in The Things Stack format and stored. Collaborators will get access to these files so they can restore data in The Things Stack if they haven't done so.

Until then, I understand the desire for migrating multiple applications at once, but we decided not to do that because of the potential high variety in collaborators, integrations, active vs inactive applications, etc.

@jpmeijers
Copy link
Author

To make the admin easier, could you allow me to delete my devices and applications from V2 after I have migrated them?

@KrishnaIyer
Copy link
Member

To make the admin easier, could you allow me to delete my devices and applications from V2 after I have migrated them?

How do you mean? We do allow deletes of devices/applications via the console/ttnctl. Do you mean automatically or something?

@jpmeijers
Copy link
Author

Ah ok, I might have missed that. I'll try.

I was under the impression "read only" included deleting too.

Changing the name/description of devices on V2, so I can add a comment if they are migrated, but still have an active session would help too.

@KrishnaIyer
Copy link
Member

Changing the name/description of devices on V2, so I can add a comment if they are migrated, but still have an active session would help too.

That's a nice suggestion. We'll look in to that. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants