diff --git a/docs/production/management-commands.md b/docs/production/management-commands.md index 4afeb474e3..b777501ae6 100644 --- a/docs/production/management-commands.md +++ b/docs/production/management-commands.md @@ -125,6 +125,9 @@ There are dozens of useful management commands under - `./manage.py export_single_user`: does a limited version of the [main export tools](export-and-import.md) containing just the messages accessible by a single user. +- `./manage.py unarchive_stream`: + [Reactivates](https://zulip.com/help/archive-a-stream#unarchiving-archived-streams) + an archived stream. - `./manage.py reactivate_realm`: Reactivates a realm. - `./manage.py deactivate_user`: Deactivates a user. This can be done more easily in Zulip's organization administrator UI. diff --git a/help/archive-a-stream.md b/help/archive-a-stream.md index 0ab83e56b3..b2441f4b46 100644 --- a/help/archive-a-stream.md +++ b/help/archive-a-stream.md @@ -41,9 +41,21 @@ than archiving them. Archiving a stream is currently irreversible via the UI. +## Unarchiving archived streams + +If you are self-hosting, you can unarchive an archived stream using the +`unarchive_stream` [management command][management-command]. This will restore +it as a private stream with shared history, and subscribe all organization +owners to it. If you are using Zulip Cloud, you can [contact us](/help/contact-support) +for help. + +[management-command]: +https://zulip.readthedocs.io/en/latest/production/management-commands.html#other-useful-manage-py-commands + ## Related articles * [Edit or delete a message](/help/edit-or-delete-a-message) * [Delete a topic](/help/delete-a-topic) * [Message retention policy](/help/message-retention-policy) * [Stream permissions](/help/stream-permissions) +* [Zulip Cloud or self-hosting?](/help/zulip-cloud-or-self-hosting)