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.6k 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 Offline
    S Offline
    shan
    wrote on last edited by girish
    #1

    Hello! I've been using this method described here to manually set my timeout for my long backup uploads to be much longer than the default. However after the most recent update this method no longer seems to be working.

    Is there a new way I need to manually adjust the timeout of my backup uploads?

    girishG 1 Reply Last reply
    1
    • S shan

      Hello! I've been using this method described here to manually set my timeout for my long backup uploads to be much longer than the default. However after the most recent update this method no longer seems to be working.

      Is there a new way I need to manually adjust the timeout of my backup uploads?

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

      @shan the timeout is already 24 hours since many releases by now. Which Cloudron version are you on?

      S 1 Reply Last reply
      0
      • girishG girish

        @shan the timeout is already 24 hours since many releases by now. Which Cloudron version are you on?

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

        @girish Sorry yeah it is 24 hours, however that's not enough for my uploads. My uploads take like 3 days usually. Is there a new way to manually change it?

        subvenS 1 Reply Last reply
        0
        • S shan

          @girish Sorry yeah it is 24 hours, however that's not enough for my uploads. My uploads take like 3 days usually. Is there a new way to manually change it?

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

          @shan 3 days is a loooooot ^^ I guess you have very limited upload speed? Switching from rsync to tgz helped me cutting the time my backup needs in half because of all the small files (wordpress, email...). For larger files that do not change a lot (like media formats), rsync could be way better. You can also exclude apps from automatic backups and do a manual backup from time to time.

          Would really wish to have better incremental backups for Cloudron. Uploading ~150GB per day is pretty wasty. Duplicati takes 5 minutes per day to update a 300gb backup copy of my private stuff.

          S 1 Reply Last reply
          1
          • subvenS subven

            @shan 3 days is a loooooot ^^ I guess you have very limited upload speed? Switching from rsync to tgz helped me cutting the time my backup needs in half because of all the small files (wordpress, email...). For larger files that do not change a lot (like media formats), rsync could be way better. You can also exclude apps from automatic backups and do a manual backup from time to time.

            Would really wish to have better incremental backups for Cloudron. Uploading ~150GB per day is pretty wasty. Duplicati takes 5 minutes per day to update a 300gb backup copy of my private stuff.

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

            @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 girishG 2 Replies 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

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