Import data from Firebase into my database

Mr Edge 221 Reputation points
2022-09-08T21:07:32.387+00:00

I've read a few articles which suggest I could import data from Firebase into my own SQL database.

  1. How do I do that?
  2. Is this a one task or could I schedule it so it's automatically importing any new records that are added?
  3. How could the database be created or do I create it?
  4. If I create the database how do I design the schema?

Ideally the data would be one way, so once imported into my database then the source can be deleted.

Appreciate if anyone could put me on the right path

Thanks

SQL Server Other
{count} votes

Accepted answer
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2022-09-08T21:50:22.947+00:00

    Hi @Mr Edge

    A similar question was asked on Stackoverflow at https://stackoverflow.com/questions/69108106/best-way-to-export-firebase-into-azure-sql

    The easiest way is to use "WAY 3" (which states that you need no coding experience) suggested by SwethaKandikonda which is a 3rd party tool called Improvado found here.

    -------------------------------------------

    If this is helpful please accept answer.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2022-09-09T06:46:21.183+00:00

    How could the database be created or do I create it?

    As long as you don't find a migration tool, you have to do it yourself.

    If I create the database how do I design the schema?

    Depends on what for a schema you want to get; we can't say.
    The common and easiest way to create the exact same schema as in your source database, then you can copy the data over 1:1.

    I could import data from Firebase into my own SQL database.

    Once the destination database is create, you can use a ETL tool like SQL Server Import/Export Wizard or SSIS (Integration Servcies).

    0 comments No comments

  2. PandaPan-MSFT 1,931 Reputation points
    2022-09-09T07:38:49.707+00:00

    Hi @Mr Edge ,
    Maybe you can try this solution:
    Step 1:Exporting your Firebase data into a JSON File.
    Step 2:Converting the JSON file into a CSV file.
    Step 3:Importing the CSV File into your SQL Server Database.
    Here is the reference link:https://hevodata.com/learn/firebase-sql-server-integration/#hevo


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.