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. Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.

Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.

Scheduled Pinned Locked Moved Support
backupstimeout
21 Posts 6 Posters 2.8k Views 6 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.
  • S shan

    @subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time

    robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #6

    @shan Why not keep using the method you have with larger number?

    Conscious tech

    S 1 Reply Last reply
    0
    • S shan

      @subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time

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

      @shan said in Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.:

      @subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time

      Fix for that is coming 😄 In 7.3, there is a checkbox to disable filename encryption alone - https://docs.cloudron.io/backups/#filenames

      For the moment, you can always bump the timeout here - https://git.cloudron.io/cloudron/box/-/blob/master/src/backups.js#L239 . That file would be /home/yellowtent/box/src/backups.js.

      marcusquinnM S 2 Replies Last reply
      0
      • girishG girish referenced this topic on
      • girishG girish

        @shan said in Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.:

        @subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time

        Fix for that is coming 😄 In 7.3, there is a checkbox to disable filename encryption alone - https://docs.cloudron.io/backups/#filenames

        For the moment, you can always bump the timeout here - https://git.cloudron.io/cloudron/box/-/blob/master/src/backups.js#L239 . That file would be /home/yellowtent/box/src/backups.js.

        marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #8

        @girish Prob is I can't update to 7.3 because the backup needed before takes over 12h 😅

        Web Design https://www.evergreen.je
        Development https://brandlight.org
        Life https://marcusquinn.com

        girishG subvenS 2 Replies Last reply
        1
        • marcusquinnM marcusquinn

          @girish Prob is I can't update to 7.3 because the backup needed before takes over 12h 😅

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

          @marcusquinn ah, catch-22 🙂 But you should be able to fix up the code in 7.2 accordingly as well and then click the update button.

          1 Reply Last reply
          0
          • robiR robi

            @shan Why not keep using the method you have with larger number?

            S Offline
            S Offline
            shan
            wrote on last edited by
            #10

            @robi setting the timeout manually now seems to not affect the actual timeout time like it used to

            1 Reply Last reply
            0
            • girishG girish

              @shan said in Backup uploads time out after 12 hours; can no longer manually adjust timeout to be longer.:

              @subven I am using tgz because rsync couldn't handle the char length of my encrypted file names, lol. Just need a way to manually adjust this upload time

              Fix for that is coming 😄 In 7.3, there is a checkbox to disable filename encryption alone - https://docs.cloudron.io/backups/#filenames

              For the moment, you can always bump the timeout here - https://git.cloudron.io/cloudron/box/-/blob/master/src/backups.js#L239 . That file would be /home/yellowtent/box/src/backups.js.

              S Offline
              S Offline
              shan
              wrote on last edited by
              #11

              @girish yeah that is what I was doing before but it no longer working

              girishG 1 Reply Last reply
              0
              • S shan

                @girish yeah that is what I was doing before but it no longer working

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

                @shan It shows an error in the eventlog / backups view that it times out? Any screenshot ? How much timeout did you increase it to?

                S 1 Reply Last reply
                0
                • marcusquinnM marcusquinn

                  @girish Prob is I can't update to 7.3 because the backup needed before takes over 12h 😅

                  subvenS Offline
                  subvenS Offline
                  subven
                  wrote on last edited by
                  #13

                  @marcusquinn you can maybe backup by exporting your server with a snapshot over your VPS provider? You can also skip the backup entirely 😰

                  1 Reply Last reply
                  1
                  • marcusquinnM Offline
                    marcusquinnM Offline
                    marcusquinn
                    wrote on last edited by
                    #14

                    Backup seems to be getting stuck on "Uploading mail snapshot", but I don't have that much email, so I suspect something else going on there. I do have VPS snapshots, so I think you're right on skipping the backup in this case. Ta.

                    Web Design https://www.evergreen.je
                    Development https://brandlight.org
                    Life https://marcusquinn.com

                    1 Reply Last reply
                    0
                    • girishG girish

                      @shan It shows an error in the eventlog / backups view that it times out? Any screenshot ? How much timeout did you increase it to?

                      S Offline
                      S Offline
                      shan
                      wrote on last edited by
                      #15

                      @girish increased it to 72 hours; does this file get regenerated perhaps? Looks like the timeout is back to 24 hours when I checked it. Maybe on Cloudron update?

                      girishG 1 Reply Last reply
                      0
                      • S shan

                        @girish increased it to 72 hours; does this file get regenerated perhaps? Looks like the timeout is back to 24 hours when I checked it. Maybe on Cloudron update?

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

                        @shan yes, on a Cloudron update, the code will revert back.

                        I am surprised a backup takes that much time though. Have you debugged further as to why? How much data do you have and how long is the upload taking ? (You can get this info from the logs as well).

                        C 1 Reply Last reply
                        0
                        • girishG girish

                          @shan yes, on a Cloudron update, the code will revert back.

                          I am surprised a backup takes that much time though. Have you debugged further as to why? How much data do you have and how long is the upload taking ? (You can get this info from the logs as well).

                          C Offline
                          C Offline
                          CBCUN
                          wrote on last edited by
                          #17

                          @girish I have also Backups around 600GB (with timeouts too)

                          girishG 1 Reply Last reply
                          0
                          • C CBCUN

                            @girish I have also Backups around 600GB (with timeouts too)

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

                            @CBCUN As in , it hits the same 24 hour timeout? Where are you backing up to?

                            C 1 Reply Last reply
                            0
                            • girishG girish

                              @CBCUN As in , it hits the same 24 hour timeout? Where are you backing up to?

                              C Offline
                              C Offline
                              CBCUN
                              wrote on last edited by
                              #19

                              @girish At Backblaze and Netcup

                              girishG 1 Reply Last reply
                              0
                              • C CBCUN

                                @girish At Backblaze and Netcup

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

                                @CBCUN Just wondering if I should bump up the timeout to more than 24 hours. Do you think this is some Cloudron upload issue or do you suspect it takes that long to upload from netcup to blackblaze?
                                Maybe netcup throttles speed after a point ?

                                I guess another idea is to make this timeout configurable.

                                subvenS 1 Reply Last reply
                                0
                                • girishG girish

                                  @CBCUN Just wondering if I should bump up the timeout to more than 24 hours. Do you think this is some Cloudron upload issue or do you suspect it takes that long to upload from netcup to blackblaze?
                                  Maybe netcup throttles speed after a point ?

                                  I guess another idea is to make this timeout configurable.

                                  subvenS Offline
                                  subvenS Offline
                                  subven
                                  wrote on last edited by
                                  #21

                                  @CBCUN any decent hoster can upload with a speed of 10MB/s so for a 600GB backup it should take 16-18 hours. My Cloudron backup is ~80GB TGZ and it takes 35-45 minutes to backup from a Netcup RS to a Hetzner storage box. Either your source/target system is slow as hell or something else is bottlenecking. What method do you use? I found TGZ to be way faster because of the many many small files. If you have larger files, maybe RSYNC is the way to go. A good solution would be a (maybe self hosted) S3 Storage together with RSYNC. I use Minio for one of my backup instances and the backup from Cloudron is blazing fast as most of the work is done by the target machine.

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