# 명령줄에서 백업을 복원하려고 할 때 "discourse: command not found" 오류 발생

**URL:** https://meta.discourse.org/t/discourse-command-not-found-when-trying-to-restore-a-backup-from-the-command-line/280391
**Category:** Self-hosting
**Created:** [9월 28, 2023, 4:27오전 UTC](https://meta.discourse.org/t/discourse-command-not-found-when-trying-to-restore-a-backup-from-the-command-line/280391 "2023-09-28T04:27:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![shim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shim/32/377650_2.png) [@shim](https://meta.discourse.org/u/shim)
#### Post date: [9월 28, 2023, 3:12오후 UTC](https://meta.discourse.org/t/discourse-command-not-found-when-trying-to-restore-a-backup-from-the-command-line/280391/3 "2023-09-28T15:12:28Z")

</div>

> [@Canapin](#):
>
> ` discourse restore`

이것이 제 문제를 모두 해결하는 데 정말 큰 도움이 되었습니다.

> [@서버 업그레이드 후 Bootstrap 실패 오류 발생](https://meta.discourse.org/t/bootstrap-failed-error-after-upgrading-my-server/280257):
>
> im having issues rebuilding my forum after upgrading the server on linode FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle config --local deployment true' failed with return #\<Process::Status: pid 505 exit 1\> Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec\_command.rb:117:in `spawn' exec failed with the params {"cd"=\>"$home", "hook"=\>"bundle\_exec", "cmd"=\>["su discourse -c 'bundle config --local deployment true'", "su…

---

_[View the full topic](https://meta.discourse.org/t/discourse-command-not-found-when-trying-to-restore-a-backup-from-the-command-line/280391)._
