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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Panic: user deleted an important email folder ... (how I solved it)

Panic: user deleted an important email folder ... (how I solved it)

Scheduled Pinned Locked Moved Solved Support
emailharakabackuprestore
6 Posts 4 Posters 1.2k Views 4 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.
    • imc67I Offline
      imc67I Offline
      imc67
      translator
      wrote on last edited by
      #1

      Just got a phonecall of a user, an email folder of 2020 with thousands of emails was accidentally deleted and was not in the 'deleted items'.

      Couldn't find a quick solution on search engines, so tried it the 'keep it stupid simple way':

      1. In my SCP app left pane I went to the server, up into the users' mailbox (no 2020 folder!)
      2. In my SCP app right pane I went to the minio backup server (backup just 1 hour old), up into the users' mailbox (there is a 2020 folder)
      3. "Simply" copied all the 2020 (sub)folders from right to left
      4. After a few seconds the user saw the folders again in Roundcube but ... the file/folder permissions were not good
      5. Restarted the mail service in Cloudron and guess what?!
      6. It's all back and working!

      Good to know for all of you if someone calls 😉

      1 Reply Last reply
      7
      • subvenS Offline
        subvenS Offline
        subven
        wrote on last edited by
        #2

        This is how it works 👍 Just in case someone does not know where cloudron stores mails:

        /home/yellowtent/boxdata/mail/vmail/<mailbox@domain.com>
        
        1 Reply Last reply
        3
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          And for those using tgz backup, you can just extract the box_*.tar.gz and it will have a directory named mail inside it.

          1 Reply Last reply
          2
          • d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by
            #4

            We may want to consider adding something like this to the documentation - I can attempt that if you'd like.

            --
            Dustin Dauncey
            www.d19.ca

            girishG 1 Reply Last reply
            1
            • d19dotcaD d19dotca

              We may want to consider adding something like this to the documentation - I can attempt that if you'd like.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @d19dotca Sure, will be happy to accept the change. I guess somewhere in the Backups docs?

              d19dotcaD 1 Reply Last reply
              1
              • girishG girish

                @d19dotca Sure, will be happy to accept the change. I guess somewhere in the Backups docs?

                d19dotcaD Offline
                d19dotcaD Offline
                d19dotca
                wrote on last edited by
                #6

                For completion sake: https://docs.cloudron.io/backups/#restore-email

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply
                4
                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