How do we migrate Teams, User, Schedules from PagerDuty to Opsgenie without manual work?
Asked by Rajiv GopalakrishnaRao:

Hi Everyone,

We are doing a POC to use Opsgenie as our Oncall alerting system. In this POC, one of the usecase is to migrate Pagerduy teams, user and their schedules. So that everyone doesn't have to start from scratch. Is there a way to fo it?


Answers:
author: Shivam Naik
body: Hello,

~~We have an internal tool that I've reached out to you in our Chat about that might help with this situation. It would involve transferring the configurations using a script and the Opsgenie Backup tool. I will follow up with you there, if you have any other questions!~~

Just a quick update here, the script is no longer available on our end as a result of it being unsupported. Pagerduty operations must be mirrored manually to Opsgenie, but please reach out to Support if you have any questions regarding API actions.

Thank you

comments: author: Jenson Paul
body: Hello [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058) ,

We are planning a migration from Pagerduty to Opsgenie. Would you please provide us some insight into the configuration transfer for teams, users, schedules \& escalations?


author: Matthew Knatz
body: [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058)

We are also in the midst of a PD to OpsGenie migration and would appreciate access to migration scripts.


author: O G
body: Hello [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058)

We are migrating from pagerduty to opsgenie and would greatly appreciate if you could share the internal tool to transfer configs using script and opsgenie backup tool. Thank you.


author: Faheem Ahmad
body: [@Shivam Naik](/t5/user/viewprofilepage/user-id/45233) , it would be great if you could guide us to migrate from PagerDuty to OpsGenie in an automated way. It will save lot of efforts. Thank you.


author: Edgar Garcia
body: +1 to the migration scripts. Are you able to select certain teams for it?


author: Shivam Naik
body: Hello Everyone,

I want to clarify the status regarding this script since there have been several questions about it. This script was created by Solutions some time ago, and is *no longer supported*. If you would like to be sent the materials for it, I would recommend opening a Support ticket with us and requesting that it be sent. However, because this is not supported, we cannot provide additional assistance beyond providing materials for the process. The same disclaimer was provided to this post's author in Chat Support.

If you would like us to send you components for the script, please let us know, but be aware regarding the unsupported status.

Thank you

comments: author: Shivam Naik
body: Just a quick update here, the script is no longer available on our end as a result of it being unsupported. Pagerduty operations must be mirrored manually to Opsgenie, but please reach out to Support if you have any questions regarding API actions.

Thank you


author: Neel Thomas
body: Hi [@Shivam Naik](/t5/user/viewprofilepage/user-id/3915058) ,  

We are in the process of migrating around 150+ users from PagerDuty to OpsGenie, with around 20+ schedules with multiple escalation policies etc.. can we know a rough estimate how much time it might take for this to complete, if we use the automations script that you mentioned.


author: Jenson Paul
body: I've managed to setup a script for this purpose.

<https://github.com/jensonpaul/pagerduty-export-opsgenie>

This is a simple python script to export data from PagerDuty that is compatible to be used in OpsGenie Configuration Backup.

comments: author: O G
body: Hi [@Jenson Paul](/t5/user/viewprofilepage/user-id/5199014) ,

Can you share any learnings from the import of all the users, teams, on call schedules into opsgenie? I am going thru the same migration from pagerduty to opsgenie. Greatly appreciate your script. Thank you.


author: Faheem Ahmad
body: Hi [@Jenson Paul](/t5/user/viewprofilepage/user-id/5199014) , is there a way we could export a Team specific configurations from PagerDuty using python script? I would like to export users, services, schedules of a particular team only.


author: Jenson Paul
body: No. You can use this script for a bulk export from PagerDuty.


Tags: cloud