# Copy the database and develop users to Firebase

Once your app is uploaded to stores, it’s important to know the difference between testing data and production data.

Testing data: all data stored in Apphive Editor.\
Production data: all data stored in your Firebase account.

![users 1](https://community.apphive.io/uploads/default/original/2X/7/759b9edcd28193de417f9ac1edad601f346d7615.png)\
![users 2](https://community.apphive.io/uploads/default/original/2X/1/16925b69417475e8ac91bbebfdba51f387083e07.png)

Choose the collection you wish to review. If the switch for Development data is on, it will be TESTING data. This data will not be refected in your compiled app or your Firebase account.

![users 3](https://community.apphive.io/uploads/default/original/2X/7/7dd406b1e9f8e641300f965d7562576a281cc374.png)

If you want to add data to your APK or the compiled app, turn the switch to Production data. This option will be available once your app is compiled for the first time.

![users 4](https://community.apphive.io/uploads/default/original/2X/8/8b0c53f5f835143b690fd56eecf3446c31585d10.png)

To copy this data, you only have to click on the Copy to Production button, and send the Testing Data to Production data (APK or app in stores).

![users 5](https://community.apphive.io/uploads/default/original/2X/1/1044e26fdeaf073b50a13b79704cecc8cbb46758.png)

From this pannel, you can also import and export data.

USERS:

![users 6](https://community.apphive.io/uploads/default/original/2X/7/7778a63474fa87526332f025f7f483ac7532089e.png)

Enter the “members” section.

![users 7](https://community.apphive.io/uploads/default/original/2X/2/2e26fe6a49a4c88c272b321e00c8b276ee631414.png)

If the “Test members” switch is on, all users will be stored in Testing.

![users 8](https://community.apphive.io/uploads/default/original/2X/7/76d6e66d7a55108160eea0093d926bb9540354ec.png)

Change to “Production members” to see your users within your compiled app, or to register all new users in Production.

![users 9](https://community.apphive.io/uploads/default/original/2X/d/de16a9805b75da22bcde3455e9454a9025cd1f5e.png)

**We reccomend NOT to load your final data while you’re testing your app, instead, load some data or information before making tests.**

IMPORT AND EXPORT\
You can make it only by selecting the option from the database.

![users 10](https://community.apphive.io/uploads/default/original/2X/d/ded1f8e76b6bbd39dcfcb25ebca716348e634ce5.png)

Or follow these steps:

In the Testing database, export all your DB (it will download a .json file)

![users 11](https://community.apphive.io/uploads/default/original/2X/7/7742341f3b50ed60c768110af2f68574540fcda8.png)

A .json file will be downloaded by turning on the Production switch. This will allow you to send all testing data to production data.

![users 12](https://community.apphive.io/uploads/default/original/2X/e/e1bea739c717f69f4cf46fca7932050a543e73df.png)

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/global-functions-1/android/settinggs-after-publishing/copy-the-database-and-develop-users-to-firebase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
