Identifying a Repository on the Bitbucket Server
The Bitbucket Server repositories are located in
BITBUCKET_HOME/shared/data/repositories/<repository-id> but what ID corresponds to which repository?
Repositories are stored in Bitbucket Server using a unique ID number instead of their name.
The System Administrator permission is required to see the location on disk of the repository.
To determine the ID of a repository, navigate to the repository in Bitbucket Server and select
Settings, under Repository details, the repository's location on disk will be listed with the ID.
Bulk Repository ID
If you have a lot of repositories you need to identify by ID, run a query to the Bitbucket Server database for the ID numbers similar to :
SELECT name, id FROM <DataBase>.repository;
This query will list all repositories and corresponding ID's.