How do I clear data from Bitbucket Server instance?
Summary
The purpose of this article is to clarify how to clear data from the Bitbucket instance in order to reconfigure the instance from scratch.
Environment
- Bitbucket Server/DC
Solution
Be aware this procedure will wipe out all the current data in the Bitbucket instance.
- Log into the instance with the Administrator account, then go to
Support > Atlassian Support Tools
, click theSystem Information
tab and determine:- Which directory is being used as
Home Directory;
- The database that the instance is connected to.
- Which directory is being used as
- Shutdown the instance
- Delete the contents of the
Home Directory
(or move it elsewhere) - Erase all the content from the current Bitbucket database instance by dropping (drop command) the database being used by that instance (you can create a database dump before), then recreate it.
- After doing these steps above, the next time you try to start that instance you will go through its Setup Wizard again.
Last modified on Aug 31, 2022
Powered by Confluence and Scroll Viewport.