Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help: Document `unarchive_stream` management command.

David Rosae60a4c4d01b3
diff --git a/docs/production/management-commands.md b/docs/production/management-commands.md
index 4afeb474e33..b777501ae6f 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 c2e0fe1cd00..90f6108beb6 100644
--- a/help/archive-a-stream.md
+++ b/help/archive-a-stream.md
@@ -41,6 +41,17 @@ 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 a message](/help/edit-a-message)
@@ -48,3 +59,4 @@ than archiving them.
* [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)