![]() If present, DirectChannel objects must occur after all Post objects in the file and before any DirectPost objects. If the corresponding team, channel, or user are not in the data file, then they must exist in the Mattermost database. Each Post object defines the team, the channel, and the username of the user who posted the message. If present, Post objects must occur after the last User object but before any DirectChannel objects. If the corresponding teams and channels are not in the data file, then they must exist in the Mattermost database. Each User object defines the teams and channels that the user is a member of. If present, User objects must occur after the Team and Channel objects in the file and before any Post objects. If present, Channel objects must occur after all Team objects and before any User objects. If present, Team objects must occur after any Scheme objects and before any Channel objects. If present, Emoji objects must occur after the Version objects but before any Team objects. If present, Scheme objects must occur after the Version object but before any Team objects. The version is the version of the bulk importer tool, which is currently 1. The Version object must be the first line in the file, and must occur only once. The objects must occur in the file in the order listed. The input data file must be a valid JSONL file with the following objects, each on its own line in the file. The command only creates or overwrites fields. The bulk loading command is not a synchronization tool You cannot use the bulk loading command to remove any objects or their fields from the Mattermost database. If an optional field is missing from the object that is being imported, the field’s current value in the database is not changed. Some data fields are optional Not all fields are mandatory. You can run the bulk loading command on a live system Although you don’t need to shut down Mattermost to run the command, changes made by users of the system between runs can be overwritten if the corresponding fields exist in the data file. Prior to v5.20 any updates to posts with matching timestamps were appended to older posts. From v5.20, posts with matching timestamps to incoming posts will have their attachments replaced by the incoming data. You can run the command repeatedly with the same data file, and the data is imported only once. About the bulk loading command ¶ The bulk loading command is interruptible and idempotent If the import is interrupted for any reason, it continues from where it left off the next time you run it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |