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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Support
    email haraka backup restore
    4
    6
    338
    Loading More Posts
    • 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.
    • imc67
      imc67 translator last edited by

      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 Reply Quote 7
      • subven
        subven last edited by

        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 Reply Quote 3
        • girish
          girish Staff last edited by

          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 Reply Quote 2
          • d19dotca
            d19dotca last edited by

            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

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @d19dotca last edited by

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

              d19dotca 1 Reply Last reply Reply Quote 1
              • d19dotca
                d19dotca @girish last edited by

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

                --
                Dustin Dauncey
                www.d19.ca

                1 Reply Last reply Reply Quote 4
                • First post
                  Last post
                Powered by NodeBB