# How to replicate edit table on musicbrainz-docker?

**URL:** <https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641>\
**Category:** Development\
**Tags:** docker\
**Created:** [October 29, 2025, 10:48pm UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641 "2025-10-29T22:48:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_DeLaHunt](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/j/53a042/32.png) [@Jim\_DeLaHunt](https://community.metabrainz.org/u/Jim_DeLaHunt)\
**Post date:** [October 29, 2025, 10:48pm UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641/1 "2025-10-29T22:48:30Z")

</div>

I followed the excellent [musicbrainz-docker instructions](https://github.com/metabrainz/musicbrainz-docker?tab=readme-ov-file) and now I have a MusicBrainz database replica which is running quite nicely for me. Thank you to those who set up this mechanism.

However, I notice that the [`edit` table](https://musicbrainz.org/doc/MusicBrainz_Database/Schema#Edits) in my replicated database appears to have zero rows. I am pretty sure that this is an [undercount](https://community.metabrainz.org/t/100-000-000th-edit-on-musicbrainz/638501).

Is there a way to include the `edit`, `edit_release`, and `edit_release_group` tables in the replication to my database?

The underlying problem I am trying to solve is that I want to query which of the 2,000+ [Release Groups without Releases](https://community.metabrainz.org/t/over-2-000-release-groups-with-no-releases/813627/7) originally had a Release, but an edit moved the Release to a different Release Group. I hope that the results of that query might be candidates for a merge of the first RG into the second.

---

<div class="post-metadata">

**Author:** ![InvisibleMan78](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/i/c67d28/32.png) [@InvisibleMan78](https://community.metabrainz.org/u/InvisibleMan78)\
**Post date:** [October 30, 2025, 7:20am UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641/2 "2025-10-30T07:20:04Z")

</div>

I’m not sure if ALL edits will be replicated hourly (IIRC, only open edits are replicated?).

Until you receive a response from an MB developer, you could download [mbdump-edit.tar.bz2](https://musicbrainz.org/doc/MusicBrainz_Database/Download) and mbdump-editor.tar.bz2 manually.

> This is the complete edit history for the core database. If you want to see how metadata has evolved, make sure to grab this dump in addition to the core.  
> The history includes things like open and closed edits, edit notes, votes, and auto-editor elections. It does not include information about the people who made the edits. For that information, you’ll need the next item as well.

> **mbdump-editor.tar.bz2**  
> This table includes non-personal user data about the people who’ve enacted the edits enumerated in the database above.

---

<div class="post-metadata">

**Author:** ![proctor5](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/p/ecd19e/32.png) [@proctor5](https://community.metabrainz.org/u/proctor5)\
**Post date:** [October 30, 2025, 8:20am UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641/3 "2025-10-30T08:20:35Z")

</div>

You’re right, the default MusicBrainz-Docker setup doesn’t include the edit-related tables in replication. Those tables are quite large and are usually excluded to keep the replication process lightweight. If you really need them, you’ll have to modify the replication script or use a full database dump instead of the replicated one. The full dumps from MusicBrainz include edit, edit\_release, and edit\_release\_group tables, so importing from there would give you the complete history you’re looking for.

---

<div class="post-metadata">

**Author:** ![Jim\_DeLaHunt](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/j/53a042/32.png) [@Jim\_DeLaHunt](https://community.metabrainz.org/u/Jim_DeLaHunt)\
**Post date:** [October 31, 2025, 1:05am UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641/4 "2025-10-31T01:05:28Z")

</div>

> [@proctor5](#):
>
> the default MusicBrainz-Docker setup doesn’t include the edit-related tables in replication.

Thank you @proctor5. Re-reading [MusicBrainz Database / Download](https://musicbrainz.org/doc/MusicBrainz_Database/Download) again, it says, " **mbdump-edit.tar.bz2** This is the complete edit history for the core database…".

More to the point, the **[Not included in replication](https://musicbrainz.org/doc/Replication#Not_included_in_replication)** section of the _Replication_ page lists the `edit`, `edit_release`, and `edit_release_group` tables as not included.

> [@proctor5](#):
>
> If you really need them, you’ll have to modify the replication script

I took a look at the [_Replication\_Mechanics_](https://musicbrainz.org/doc/Replication_Mechanics). As far as I can tell, there is no way for a replicator like me to pull more tables via the replication mechanism. The choice of which tables to replicate is entirely up to the main database which provides the replication packets.

So, I am downloading **mbdump-edit.tar.bz2** and **mbdump-editor.tar.bz2**. Today that appears to be some 13-14GB of data. I hope that when I open them, I will see how to add them to my local replica of the database.

---

<div class="post-metadata">

**Author:** ![Jim\_DeLaHunt](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/j/53a042/32.png) [@Jim\_DeLaHunt](https://community.metabrainz.org/u/Jim_DeLaHunt)\
**Post date:** [October 31, 2025, 11:50pm UTC](https://community.metabrainz.org/t/how-to-replicate-edit-table-on-musicbrainz-docker/813641/5 "2025-10-31T23:50:38Z")

</div>

I was able to load these dumps into my replicated database. It involved using a particular incantation to run **MBImport.pl** on my replicated MusicBrainz instance. See details in [_How to import edit/editor database dumps into a replicated database on musicbrainz-docker?_](https://community.metabrainz.org/t/how-to-import-edit-editor-database-dumps-into-a-replicated-database-on-musicbrainz-docker/813650).
