# "discourse: command not found" quando si tenta di ripristinare un backup dalla riga di comando

**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:** [28 Settembre 2023, 4:27am 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:** 5

<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: [28 Settembre 2023, 3:33pm UTC](https://meta.discourse.org/t/discourse-command-not-found-when-trying-to-restore-a-backup-from-the-command-line/280391/5 "2023-09-28T15:33:30Z")

</div>

> [@Restore a backup from the command line](https://meta.discourse.org/t/restore-a-backup-from-the-command-line/108034):
>
> bookmark This guide explains how to restore a Discourse backup from the command line without using the Discourse web UI. person_raising_hand Required user level: Administrator wrench Console access required Here’s how to restore a Discourse backup from the command line, without ever booting the Discourse web UI. This is handy when you’re moving servers. Prerequisites Before you start, make sure you complete the following steps: Download the latest backup file from the source Disco…

ho trovato la mia soluzione nel post sopra, `exit`

---

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