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 Backup hangs

    Support
    3
    14
    180
    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.
    • E
      ekevu123 last edited by

      Hi, I am importing a Nextcloud app backup in Cloudron and it repeats this message in the logs for quite some time already:

      Dec 15 20:45:36 box:tasks update 473: {"percent":75,"message":"Downloading 2368M@0MBps"}
      

      with just the time changing.

      Is it normal that the percentage is not moving at all?

      E 1 Reply Last reply Reply Quote 0
      • E
        ekevu123 @ekevu123 last edited by

        I restarted the backup but I get the same error, the speed drops to zero in the process.

        BrutalBirdie 1 Reply Last reply Reply Quote 0
        • BrutalBirdie
          BrutalBirdie Staff @ekevu123 last edited by

          @ekevu123
          Please share the following information:

          • Cloudron Version
          • Backup Configuration

          Like my work? Consider donating a beer 🍻 Cheers!

          E 1 Reply Last reply Reply Quote 0
          • E
            ekevu123 @BrutalBirdie last edited by

            Cloudron Version 7.3.4
            Backup configuration:

            {
                "remotePath": "2022-12-14-230000-802/app_PATH_v4.16.0",
                "encrypted": false,
                "provider": "backblaze-b2",
                "format": "tgz",
                "memoryLimit": 2147483648,
                "schedulePattern": "00 00 1 * * *",
                "retentionPolicy": {
                    "keepWithinSecs": 172800
                },
                "bucket": "my-cloudron",
                "prefix": "XX",
                "accessKeyId": "XYZ",
                "endpoint": "XXX.backblazeb2.com",
                "uploadPartSize": 134217728,
                "encryption": null
            }
            
            BrutalBirdie 1 Reply Last reply Reply Quote 0
            • BrutalBirdie
              BrutalBirdie Staff @ekevu123 last edited by BrutalBirdie

              @ekevu123
              About the format: tgz

              It can store file names with up to 256 characters, provided that the file name can be split at directory separator in two parts, first of them being at most 155 bytes long.

              So with bug folder structures this can lead to errors.
              You might want to try using rsync instead of tar if that is the case.

              Like my work? Consider donating a beer 🍻 Cheers!

              E 1 Reply Last reply Reply Quote 0
              • E
                ekevu123 @BrutalBirdie last edited by

                @BrutalBirdie But wouldn't that only apply to future backups? Or can I try to reinstate this backup this way?

                BrutalBirdie 1 Reply Last reply Reply Quote 0
                • BrutalBirdie
                  BrutalBirdie Staff @ekevu123 last edited by

                  @ekevu123
                  The question is, is this even necessary, do you have this large folder structures in your Nextcloud?

                  Also since you are on backblaze, be sure your backup timing do not overlap with their Scheduled Maintenance Window.
                  https://www.backblaze.com/scheduled-maintenance.html

                  Like my work? Consider donating a beer 🍻 Cheers!

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    ekevu123 @BrutalBirdie last edited by ekevu123

                    There can be a few large file names, but not many.

                    Thank you for pointing out the maintenance window, I didn't know that. But that is not yet, so it shouldn't have any impact.

                    I am wondering if I just see what will happen until tomorrow morning (maybe it will continue at some point) or if it makes sense to use rsync, but I am not sure if that works if I made the original backup in another format.

                    I tried it already several times and get stuck at different times.

                    BrutalBirdie 1 Reply Last reply Reply Quote 0
                    • BrutalBirdie
                      BrutalBirdie Staff @ekevu123 last edited by BrutalBirdie

                      @ekevu123 you can also just cancel the currently running backup and just click backup now, so sort of restarting the backup.

                      Like my work? Consider donating a beer 🍻 Cheers!

                      E 1 Reply Last reply Reply Quote 0
                      • E
                        ekevu123 @BrutalBirdie last edited by

                        @BrutalBirdie I cannot do a new backup, I need to implement this first as the original cloudron installation broke. I tried to restart the import already several times.

                        My only other alternative is to reupload everything from my computer.

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

                          Maybe you can try a few variations of https://docs.cloudron.io/backups/#concurrency-settings to see if this helps? Hard to say why the connection speed slowly drops to 0, but I have seen this in the past as well.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            ekevu123 @nebulon last edited by

                            @nebulon I only have the memory limit and the upload part size as options, nothing more when using tgz.

                            nebulon 1 Reply Last reply Reply Quote 0
                            • nebulon
                              nebulon Staff @ekevu123 last edited by

                              @ekevu123 right, then try a few variations of those.

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                ekevu123 @nebulon last edited by

                                @nebulon It worked when I set both to maximum, many thanks!

                                1 Reply Last reply Reply Quote 1
                                • Topic has been marked as a question  nebulon nebulon 
                                • Topic has been marked as solved  nebulon nebulon 
                                • Referenced by  E eddowding 
                                • First post
                                  Last post
                                Powered by NodeBB