# Export and Import database Connection Deploy CLI

**URL:** <https://community.auth0.com/t/export-and-import-database-connection-deploy-cli/164853>\
**Category:** Get Help\
**Tags:** connections-management-api, management-api\
**Created:** [December 20, 2024, 9:59pm UTC](https://community.auth0.com/t/export-and-import-database-connection-deploy-cli/164853 "2024-12-20T21:59:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.em](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matt.em/32/60295_2.png) [@matt.em](https://community.auth0.com/u/matt.em)\
**Post date:** [December 20, 2024, 9:59pm UTC](https://community.auth0.com/t/export-and-import-database-connection-deploy-cli/164853/1 "2024-12-20T21:59:20Z")

</div>

I’m currently working on managing database connections in Auth0, and I want to know if it’s possible to export and import these connections using the Auth0 CLI or Management API.

After using the Deploy CLI I noticed it imported my applications and setting to my staging Tenant, however the database connections are missing.

I am curious about the following:

1. Can I export existing database connection settings?
2. Is there a way to import these settings into another Auth0 tenant or environment?
3. What CLI commands or API endpoints should I be looking at for this task?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![matt.em](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/matt.em/32/60295_2.png) [@matt.em](https://community.auth0.com/u/matt.em)\
**Post date:** [December 21, 2024, 3:48pm UTC](https://community.auth0.com/t/export-and-import-database-connection-deploy-cli/164853/3 "2024-12-21T15:48:13Z")

</div>

I identified the cause of the missing imports. The process would proceed smoothly until it encountered an error related to importing a specific security setting. At that point, the import process would halt, preventing further imports from being completed.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 4, 2025, 3:49pm UTC](https://community.auth0.com/t/export-and-import-database-connection-deploy-cli/164853/4 "2025-01-04T15:49:06Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
