Skip to content

Commit 8b7b314

Browse files
authored
Create slack-backup.md
Add a guide to use slackdump to export personal channels.
1 parent 2a3acd2 commit 8b7b314

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed

communication/slack-backup.md

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Backup private channels and DM's of Slack
2+
3+
To Backup DM's and private channels we currently recommend [slackdump](https://github.com/rusq/slackdump).
4+
5+
It is an easy to use commandline tool to backup your Channels and DM's and store the data locally. No Online Service involved, so all of your data stays with you.
6+
7+
## Installation
8+
9+
Slackdump is supporting various platforms. You can find the latest release [here](https://github.com/rusq/slackdump/releases/tag/v3.1.4)
10+
11+
### MacOS
12+
13+
```
14+
brew install slackdump
15+
```
16+
17+
### Other OS
18+
19+
On other Operating Systems, please follow these steps:
20+
21+
1. Download the latest release for your operating system from the [releases] page.
22+
1. Unpack the archive to any directory.
23+
1. Run the `./slackdump` or `slackdump.exe` executable (see note below).
24+
1. You know the drill: use arrow keys to select the menu item, and Enter (or
25+
Return) to confirm.
26+
1. Follow these [quickstart instructions][man-quickstart].
27+
28+
[releases]: https://github.com/rusq/slackdump/releases/
29+
30+
> [!NOTE]
31+
> On Windows and macOS you may be presented with "Unknown developer" window,
32+
> this is fine. Reason for this is that the executable hasn't been signed by
33+
> the developer certificate.
34+
35+
To work around this:
36+
37+
- **on Windows**: click "more information", and press "Run
38+
Anyway" button.
39+
- **on macOS** 14 Sonoma and prior: open the folder in Finder, hold Option
40+
and double click the executable, choose Run.
41+
- **on macOS** 15 Sequoia and later: start the slackdump, OS will show the
42+
"Unknown developer" window, then go to System Preferences -> Security and
43+
Privacy -> General, and press "Open Anyway" button.
44+
45+
46+
## Step by Step Walkthrough
47+
48+
49+
50+
Use the wizard to get started:
51+
52+
![](https://i.imgur.com/Spe3PwS.jpeg)
53+
54+
If you select export you will be asked for a login.
55+
![](https://i.imgur.com/WtngQG8.jpeg)
56+
57+
58+
You can select any option you prefer. For some users the default browser Login does not work. We recommend the Cookie and Workspace Name Option.
59+
60+
![](https://i.imgur.com/77vMM7o.jpeg)
61+
62+
To retrieve the Cookie, Login into [https://kubernetes.slack.com](https://kubernetes.slack.com) with your credentials and retrieve the Coookie. It will start with the following formate:
63+
64+
```
65+
xoxd-
66+
```
67+
68+
![](https://i.imgur.com/92nJ2e4.jpeg)
69+
70+
Enter as workspace Name "kubernetes" and then your Session Cookie and make the Checkmark to create credentials:
71+
72+
![](https://i.imgur.com/9jDVBQ5.jpeg)
73+
74+
Now you can dump your private Channels and DMs
75+
The easiest way is to use ChannelId's
76+
77+
To retrieve a Chanel ID of a private Channel, select the channel and click on the 3 dots to choose "Open channel details". The following Popup will display the Channel ID.
78+
79+
![](https://i.imgur.com/cxtSQOr.jpeg)
80+
81+
![](https://i.imgur.com/Xr9VTIA.jpeg)
82+
83+
For DM's you follow a similar way. Again the three dots and "Open conversation details". Afterwards you can again copy a ChanelID
84+
![](https://i.imgur.com/sbz1M0G.jpeg)
85+
![](https://i.imgur.com/LztpgNS.jpeg)
86+
87+
Now you can export the Data, by entering the ChanelIDs.
88+
We recommend the "standard" storage type option.
89+
90+
![](https://i.imgur.com/TchQXRA.jpeg)
91+
92+
93+
And you will receive your export!:
94+
![](https://i.imgur.com/roamx80.jpeg)
95+
96+
97+
98+
## View the export:
99+
100+
Once the workspace data is dumped, you can run built-in viewer:
101+
102+
```shell
103+
slackdump view <zip or directory>
104+
```
105+
106+
The built-in viewer supports all types of dumps:
107+
108+
1. Slackdump Archive format;
109+
1. Standard and Mattermost Slack Export;
110+
1. Dump mode files
111+
112+
The built-in viewer is experimental, any contributions to make it better looking are welcome.
113+
114+
Alternatively, you can use one of the following tools to preview the
115+
export results:
116+
117+
- [SlackLogViewer] - a fast and powerful Slack Export viewer written in C++, works on Export files (images won't be displayed, unless you used an export token flag).
118+
- [Slackdump2Html] - a great Python application that converts Slack Dump to a
119+
static browsable HTML. It works on Dump mode files.
120+
- [slack export viewer][slack-export-viewer] - Slack Export Viewer is a well known viewer for
121+
slack export files. Supports displaying files if saved in the "Standard" file mode.
122+
123+
[SlackLogViewer]: https://github.com/thayakawa-gh/SlackLogViewer/releases
124+
[Slackdump2Html]: https://github.com/kununu/slackdump2html
125+
[slack-export-viewer]: https://github.com/hfaran/slack-export-viewer
126+
127+
128+
129+
130+
131+

0 commit comments

Comments
 (0)