# Error migrating a taiga instance, from docker to baremetal setup: backup and restore

**URL:** <https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667>\
**Category:** Troubleshooting\
**Created:** [January 27, 2023, 9:04am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667 "2023-01-27T09:04:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![manvir](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@manvir](https://community.taiga.io/u/manvir)\
**Post date:** [January 27, 2023, 9:04am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667/1 "2023-01-27T09:04:55Z")

</div>

i have migrated taiga-docker to source code taiga from one instance to 2nd instance

i take pg\_dump from taiga-docker and restored on source code taiga.

all projects & users are showing on source code taiga but when any snap is not opening in source code taiga

---

<div class="post-metadata">

**Author:** ![david.barragan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/david.barragan/32/293_2.png) [@david.barragan](https://community.taiga.io/u/david.barragan)\
**Post date:** [January 30, 2023, 9:55am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667/2 "2023-01-30T09:55:49Z")

</div>

Hi @manvir

I assume that by snap you mean snapshots, all the attached files that you can associate to a story, task, issue…

There are two things to move when migrating data from one Taiga instance to another: the database (with _pg\_dump_) and the attachments stored in the _media/_ directory (copying the directory from one instance to the other).

Here you can find the information to make backups and restore docker instances.  
[https://docs.taiga.io/backup-and-restore.html](https://docs.taiga.io/backup-and-restore.html)

You just have to look at the [last section](https://docs.taiga.io/backup-and-restore.html#_migrate_the_media_files) to know how to create a _media_ backup and then restore it manually in your new instance.

I hope this will help you.

Best regards.

---

<div class="post-metadata">

**Author:** ![manvir](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@manvir](https://community.taiga.io/u/manvir)\
**Post date:** [February 2, 2023, 11:06am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667/3 "2023-02-02T11:06:46Z")

</div>

thanks for reply

i have migrated from 1 instance (taiga docker) to another instance (taiga source code)

i talking about above setup. what i have to do.

---

<div class="post-metadata">

**Author:** ![manvir](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@manvir](https://community.taiga.io/u/manvir)\
**Post date:** [February 2, 2023, 11:09am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667/4 "2023-02-02T11:09:50Z")

</div>

and also unable to attachment ne file in any section and also unable to invite other member in project.

---

<div class="post-metadata">

**Author:** ![david.barragan](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/david.barragan/32/293_2.png) [@david.barragan](https://community.taiga.io/u/david.barragan)\
**Post date:** [February 3, 2023, 9:11am UTC](https://community.taiga.io/t/error-migrating-a-taiga-instance-from-docker-to-baremetal-setup-backup-and-restore/667/5 "2023-02-03T09:11:32Z")

</div>

It is very difficult for me to diagnose what could be your problem without more information.

- I would need to see the system logs, especially from the backend,
- And check if the frontend throws any errors in the console of the development tools.
- Have you done the restore of the attached files (media directory) from the docker instance to the new instance?
