# 호스트 간 마이그레이션 시 사용자 세션 유지

**URL:** https://meta.discourse.org/t/preserving-user-sessions-when-migrating-between-hosts/166451
**Category:** Self-hosting
**Created:** [10월 6, 2020, 10:07오후 UTC](https://meta.discourse.org/t/preserving-user-sessions-when-migrating-between-hosts/166451 "2020-10-06T22:07:27Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![TallTrees](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/talltrees/32/208620_2.png) [@TallTrees](https://meta.discourse.org/u/TallTrees)
#### Post date: [10월 7, 2020, 1:01오후 UTC](https://meta.discourse.org/t/preserving-user-sessions-when-migrating-between-hosts/166451/9 "2020-10-07T13:01:37Z")

</div>

훌륭합니다 - 샌드박스 인스턴스에서 이걸 직접 시도해 볼게요. 작동하는지 확인해서 다시 보고드리겠습니다 🙂

> [@david](#):
>
> 참고: 여러 Discourse 인스턴스 간에 시크릿 키를 공유하는 것은 **절대** 하지 말아야 합니다.

이해했습니다. 이제 백업에서 이 키를 내보낼 수 있는 옵션에 대한 기능 요청을 해야 하는지 고민 중입니다. 제게는 수천 개의 계정이 있는 사이트에서 모든 세션을 잃는 것은 '매우 나쁜 일’로 여겨집니다. 마이그레이션을 연습하면서 이 문제가 드러났지만, 만약 기계나 Docker 인스턴스가 어떤 이유로든 손실되면 키도 함께 손실되어 동일한 세션 손실을 겪게 될 것입니다.

마이그레이션 관련 주제에서 이 '기능’에 대해 언급하는 것도 좋을 것 같습니다: [Move your Discourse Instance to a Different Server](https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721)

---

_[View the full topic](https://meta.discourse.org/t/preserving-user-sessions-when-migrating-between-hosts/166451)._
