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


Navigation

    Cloudron Forum

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

    SOLVED Minio backup fails for no reason

    Support
    backups minio
    4
    16
    112
    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.
    • robi
      robi @thibaud last edited by

      @thibaud until it works 😕

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

        @thibaud Yes, I would start with say 1GB or so and see if it works. Note that this memory is just the "max" and also only for the duration of the backup itself.

        1 Reply Last reply Reply Quote 0
        • T
          thibaud last edited by

          Thank you all.

          @girish I increased the parameters step by step and tried to backup for each (until the max i.e. 16 go). I still have the same error message. Any help?

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

            @thibaud Are you able to mail the entire backup log to support@cloudron.io ? Let's see if it's something obvious from the logs.

            T 1 Reply Last reply Reply Quote 0
            • T
              thibaud @girish last edited by

              @girish Done!

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

                @thibaud Thanks. It seems multi-part copies are failing altogether. As in, even the first part is failing. I thought it was failing much later.

                Retrying (1) multipart copy of crsav_/snapshot/app_f0770611-2970-4e86-9047-0260e0297b79.tar.gz.enc. Error: XMLParserError: Unexpected close tag\nLine: 5\nColumn: 7\nChar: > 405 (
                

                Let me quickly test this and see if it's easy to reproduce.

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  @thibaud Mmm, I cannot reproduce this. I tried to backup and it succeeded over ~40 parts (https://paste.cloudron.io/ihulamulow.apache). So, to take a step back, it failed in "rename" . Is there something special about the filesystem where minio is located? Is it ext4? What is the underlying filesytem of Cloudron itself?

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    thibaud @girish last edited by

                    @girish

                    My Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs). I already checked if there are any known issue reported with Minio. I will double check.

                    My Cloudron is hosted on Ubuntu / ext4.

                    imc67 1 Reply Last reply Reply Quote 0
                    • imc67
                      imc67 @thibaud last edited by

                      @thibaud said in Minio backup fails for no reason:

                      Minio is self-hosted in a Docker on a Synology NAS which underlying filesystem is proprietary (btfrs)

                      I have exactly the same situation on two Cloudrons to Minio's on two NAS's, only difference is that my backups are rsync and not tar. I experience no single issue and with Watchtower in Docker Minio is automatically updated to the latest version within 24 hours.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        thibaud @imc67 last edited by

                        @imc67 said in Minio backup fails for no reason:

                        my backups are rsync and not tar

                        Thanks for the tip. I switched to rsync and I was full of hope. Unfortunately it also fails.

                        @girish I send you Minio full log by mail.

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

                          @thibaud I replied to you on support@ but the issue is that there is some long file name. The current rsync+encryption backup has some file name length limitation - https://docs.cloudron.io/backups/#encryption . There is a feature request at https://forum.cloudron.io/topic/3057/consider-improvements-to-the-backup-experience-to-support-long-filenames-directory-names .

                          Run the following command in /home/yellowtent/appsdata to find the large filenames:

                          find . -type f -printf "%f\n" | awk '{ print length(), $0 | "sort -rn" }' | less
                          
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post