Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Data Retention / File Management in Mattermost

Data Retention / File Management in Mattermost

Scheduled Pinned Locked Moved Solved Mattermost
4 Posts 3 Posters 201 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • artaA Offline
    artaA Offline
    arta
    wrote on last edited by
    #1

    Hi guys,

    I have a mattermost instance that I am using for the past 4 years. The file storage has grown significantly. As the system grew, the backups are getting heavy and heavier as the time goes.

    Since mattermost does not have any inbuilt Data Retention policy, I want to know what is the best way to handle this?
    We usually don't care for files older than 1 year. So I was wondering if we can delete the files older than 1 year.

    What is the best way to handle this? Can you offer a relevant terminal command that can achieve this?

    I'd appreciate your feedback on this.

    Thank you

    1 Reply Last reply
    1
    • jamesJ james moved this topic from Support on
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote on last edited by
      #2

      Hello @arta
      I have moved your post into the @mattermost category.

      Have your read and tried this: https://docs.mattermost.com/administration-guide/comply/data-retention-policy.html#configure-a-global-data-retention-policy ?

      1 Reply Last reply
      2
      • artaA Offline
        artaA Offline
        arta
        wrote on last edited by arta
        #3

        This path does not exist in community version of Mattermost

        System Console > Compliance > Data Retention Policies
        Looks like it is only for paying customers.

        b45f28e2-f500-457a-afa3-52fdfc91c85a-image.png

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          According to https://forum.mattermost.com/t/is-it-safe-to-delete-a-file-from-the-data-folder/15732 you can just delete the old files from the filesystem (but read that post about the warning/side effects).

          1 Reply Last reply
          0
          • jamesJ james has marked this topic as solved

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search