Overview
This article provides methods for backing up or exporting the Auth0 tenant configuration and user data.
Applies To
- Backup
- Export
- User Data Export
Solution
The following tools can be used to manage tenant and user data backups:
- Auth0 Deploy Command Line Interface (CLI): This tool backs up and restores tenant settings and configuration.
- NOTE: This tool does not back up user information.
- Management API Endpoints: These can be used for bulk user exports and imports, which is useful for user migration.
- User Import / Export Extension: This extension allows users to:
- Bulk import users from an existing database into Auth0.
- Search for and export some or all users from an Auth0 database.
- Auth0 Terraform Provider: It is possible to export the tenant’s configuration data through Terraform using the auth0 tf generate command. The exported file can be imported into the same or another tenant using terraform apply command.
- NOTE: This tool requires the Auth0 Command Line Tool (CLI) (required version ≥ 1.1.0) installed on the machine to perform export of the tenant’s configuration data.
For security reasons, password hashes for users in an Auth0-hosted database are not available via the API or extensions. Obtaining these requires the creation of a developer support ticket.