# How to move one campaign to another subdomain

**URL:** <https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750>\
**Category:** General Discussion\
**Created:** [April 14, 2022, 2:29pm UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750 "2022-04-14T14:29:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rarita.king](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rarita.king/32/412_2.png) [@rarita.king](https://forum.mautic.org/u/rarita.king)\
**Post date:** [April 14, 2022, 2:29pm UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750/1 "2022-04-14T14:29:21Z")

</div>

Hello,  
I have mautic on a subdomain with multiple campaigns for different clients. Now I want to move just one campaign with all emails and contacts from this campaign to another subdomain.  
What is the best way to do this?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 15, 2022, 6:30am UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750/2 "2022-04-15T06:30:56Z")

</div>

Hi, maybe this plugin can help:

> **[GitHub - FriendlyDotCH/mautic-multi-domain](https://github.com/FriendlyDotCH/mautic-multi-domain)**
>
> Contribute to FriendlyDotCH/mautic-multi-domain development by creating an account on GitHub.

Check the video for it:

[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0b45ef44fbd0c36d6880ddc085e5edc0dd0d3788.jpeg "Multi Domain tracking with Mautic") ](https://www.youtube.com/watch?v=O8_pcHMXV-M)

---

<div class="post-metadata">

**Author:** ![rarita.king](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rarita.king/32/412_2.png) [@rarita.king](https://forum.mautic.org/u/rarita.king)\
**Post date:** [April 20, 2022, 8:22am UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750/3 "2022-04-20T08:22:45Z")

</div>

Hei, thank you for the help!  
Great plugin and tutorial, I will definitely use it in the future but for this case it is not exactly what I want.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [April 20, 2022, 9:18am UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750/4 "2022-04-20T09:18:38Z")

</div>

This is quite a tricky thing to do and requires writing up some scripts to take the correct tables and entries from the database and import them into your new instance. It is a time consuming script to write but fully doable.

Are you familiar with the mysql database ?

---

<div class="post-metadata">

**Author:** ![rarita.king](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rarita.king/32/412_2.png) [@rarita.king](https://forum.mautic.org/u/rarita.king)\
**Post date:** [April 20, 2022, 11:01am UTC](https://forum.mautic.org/t/how-to-move-one-campaign-to-another-subdomain/23750/5 "2022-04-20T11:01:37Z")

</div>

I solved the issue, as you said, with SQL scripts directly in my database, but I did it for every table individually. I selected all the relevant data in the table for the campaign mainly based on the category, exported them and then imported them into the new database.
