Replies: 2 comments 1 reply
-
What advantages would this offer over dropping the metadata database and creating a new one? |
Beta Was this translation helpful? Give feedback.
1 reply
-
PR for this feature - #27221 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Over time, Apache Superset instances can accumulate large amounts of data, including charts, dashboards, saved queries, and other artifacts. There might be scenarios where users want to start fresh with a clean slate, removing all existing data.
Testing and Development: Developers and administrators often require a quick and efficient way to reset Apache Superset instances to a default state for testing purposes or when setting up development environments.
Data Privacy and Security: In some cases, there might be sensitive or confidential data stored within Apache Superset that needs to be wiped out completely to ensure data privacy and security compliance.
What is the proposal?
Implement a Factory Reset API: Develop an API endpoint that allows users to trigger a factory reset of Apache Superset. This API should be designed to delete all existing data, including charts, dashboards, saved queries, databases, and other related artifacts.
Authorization and Confirmation: Ensure that the API requires appropriate authorization to prevent unauthorized access. Additionally, consider implementing a confirmation mechanism to prevent accidental data loss.
Documentation and Best Practices: Provide comprehensive documentation on how to use the Factory Reset API, along with best practices for when and how to perform a reset. Include warnings about data loss and the irreversible nature of the operation.
Error Handling and Logging: Implement robust error handling mechanisms within the API to handle any unexpected errors gracefully. Additionally, log all reset operations for auditing purposes.
Integration with Configuration Management: Optionally, provide integration with configuration management tools or scripts to automate the process of resetting Apache Superset instances in a controlled and reproducible manner.
Beta Was this translation helpful? Give feedback.
All reactions