Migration

25 views
Skip to first unread message

Vivek Manpuria (Vivek)

unread,
May 3, 2025, 6:23:28 AM5/3/25
to Kill Bill users mailing-list
I was going over the Migration Guide at https://docs.killbill.io/latest/migration_guide

In order to transfer the accounts and subscriptions from an existing system to killbill postgreSQL, can the data be inserted directly into the killbill database after which can we restart killbill?

I tried it out and it worked for an account. However I got an error, Null Pointer Exception when calling the Get Account Bundles and Get Account Blocking States API probably, because I did not enter data into all the tables. I will try a bit more.

Thank you,
Vivek


karan bansal

unread,
May 4, 2025, 1:49:21 PM5/4/25
to Kill Bill users mailing-list
Hi Vivek,

By inserting data into DB, do you mean to directly copy over the data from a different system db to Kill Bill db? Are the columns in the source/destination matching? I would suggest to give it a try in your Kill Bill test environment first with a few accounts and take it forward accordingly.

Regards
Karan

Vivek Manpuria (Vivek)

unread,
May 15, 2025, 1:11:41 AM5/15/25
to Kill Bill users mailing-list
Hi Karan,

Yes, I was planning to create a subscription by inserting records in the kill bill database tables. The columns do not match but we have all the data that kill bill requires because I am able to migrate an account using the KillBill APIs. I found it to be risky because of the number of tables that are involved and also because some of fields contain serialized objects and KillBill generated user tokens.

Thank you,
Vivek

karan bansal

unread,
May 15, 2025, 2:12:53 PM5/15/25
to Kill Bill users mailing-list
Hi Vivek,

Yes that is correct. There is a lot going on in the core system, so its always better to let the system do the work.

Regards
Karan

Vivek Manpuria (Vivek)

unread,
May 16, 2025, 2:42:50 AM5/16/25
to Kill Bill users mailing-list
Thank you.

- Vivek

Reply all
Reply to author
Forward
0 new messages