# I lost all files?

**URL:** <https://forum.mattermost.com/t/i-lost-all-files/2956>\
**Category:** Troubleshooting\
**Created:** [February 23, 2017, 12:51am UTC](https://forum.mattermost.com/t/i-lost-all-files/2956 "2017-02-23T00:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UgoCloutier](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ugocloutier/32/1153_2.png) [@UgoCloutier](https://forum.mattermost.com/u/UgoCloutier)\
**Post date:** [February 23, 2017, 12:51am UTC](https://forum.mattermost.com/t/i-lost-all-files/2956/1 "2017-02-23T00:51:13Z")

</div>

Hi guys,

I run Mattermost on Ubuntu 16.04.2 LTS

I wanted to upgrade from 3.4.0 to 3.6.2

I backup up my config.json… in fact I copied the full “old” mattermost folder.

I downloaded and extracted the file to /opt/mattermost/

Then copied my config.json file

I started it, and everything was there : the teams, the channels, the users… ALL except my files.  
I’m referring to all the PDFs and other documents that were posted on Mattermost.

Then I noticed I didn’t copy the data file located in /opt/mattermost/bin/data

So I copied it… rebooted… but still it doesn’t work.

Any clue?

---

<div class="post-metadata">

**Author:** ![elias](https://avatars.discourse-cdn.com/v4/letter/e/41988e/32.png) [@elias](https://forum.mattermost.com/u/elias)\
**Post date:** [March 6, 2017, 11:58am UTC](https://forum.mattermost.com/t/i-lost-all-files/2956/2 "2017-03-06T11:58:30Z")

</div>

Try copying the data folder in /opt/mattermost actually also check the value set for the data folder in the config.json file
