Explains the different Slackdump sources structure.
Databases were introduced in Slackdump version 3.1.
Slackdump directory with database contains:
slackdump.sqlite, unless renamed by the user afterwards.__uploads directory with the files uploaded to the Slack workspace;__avatars directory.Fetch the current archive command documentation that contains the database and directory structure description.
A user may choose to access just the slackdump database file. In this case there will be no uploads or avatars, but the structure stays the same.
Chunk directory preceded database archive format, and were introduced in version 3.0 to address the shortcomings of export and dump formats, such as:
Chunk directory contains:
*.json.gz files.The format and structure are described in the chunk documentation
Dump is the initial format of Slackdump since version 1.0.
It WILL contain one or more of the following files:
/[CHANNEL_ID].json - messages from the conversation CHANNEL_ID.It MIGHT contain additional metadata:
/[CHANNEL_ID]/* - attachments from messages in conversation CHANNEL_ID.
Each file is named: [FILE_ID]-[original filename].[original extension]/channels.json - raw combined output of the payload from channels.list calls
(all channels in the dump)/users.json - raw combined output of the payload from users.list API calls
(all users)/workspace.json - workspace information.Export is a reproduction of the native Slack export format with a file storage extension, described in File storage types section below. Introduced in version 2.0.
JSON structure in the ZIP/directory follows the Slack native format exactly, but some newer features may be missing.
For the JSON structure see Official slack Export description.
The structure is exactly the same as Dump or Export directory, but instead of a directory is uses a ZIP file as a container.
Native Slack exports are not supposed to store file attachments. Slackdump works around this by adding files to the export, and they can be stored in two different layouts (types):
/[CHANNEL_ID]/attachments/ directory and have
the same naming as Dump Attachments./__uploads/* directory in the root of the
directory. Full format is the following:
/__uploads/[FILE_ID]/[original filename].[original extension]