Unable to export data from Mattermost

Hello everyone,

I am trying to run:

ashim@New-mattermost:/opt/mattermost/bin$ ./mmctl export create --attachments

Here is the debug log level message :

{
“caller”: “filestore/s3store.go:135”,
“level”: “debug”,
“msg”: “HTTP/1.1 404 Not Found\r\nTransfer-Encoding: chunked\r\nContent-Type: application/xml\r\nDate: Sun, 17 May 2026 10:48:37 GMT\r\nServer: AmazonS3\r\nX-Amz-Id-2: DlMWCVYWTRxaSPMDXjiZPTdwdICLQb1h6CGB4sENd0yK7wOY0XvlhqUZoLncH7BTBbkA1mltsk0phL3RdeA\r\nX-Amz-Request-Id: GNM9B\r\n\r\n1c0\r\n\nNoSuchKeyThe specified key does not exist.20210426/teams/noteam/channels/p9y1jxy14jbax8utqihjp9s1so/users/owuyog6763bp9mo7gazoufxf8e/5yuy8tfbwiy5bjay89hx7xjrao/Screenshot from 2021-04-26 11-57-13.pngDKHMTP9BUQ4VfrDk4sk7nDlMWCVYWTRxaSPMDXjiZPTdwdICLQb1h6CGB4sENd0yK7wOY0XvlhqUZoLncH7BTBbkA1mltsk0phL3RdeA\r\n0\r\n”,
“timestamp”: “2026-05-17 10:48:38.054 Z”
}

I am on Mattermost 9.11.12.

Is it the case that this file has been deleted and now the export cannot find this file? How do I manage in this case?

Best Regards,

Ashim

Dear all,

Can someone please help me ?

Thank you.

Hello,

There are some housekeeping repositories in Github. I do not wish to run a housekeeping tool on the live server. I wish to backup my data prior to running the housekeeping tool.

This is like a chicken and a egg situtation. I can’t backup my system without housekeeping, and I can’t do housekeeping without the backup.

Any advice for me.

Thank you,

Ashim