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
  • Brite
  • 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. Bloated n8n backup

Bloated n8n backup

Scheduled Pinned Locked Moved Solved Support
backups
19 Posts 4 Posters 142 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic was forked from What's coming in Cloudron 9 joseph
This topic has been deleted. Only users with topic management privileges can see it.
  • J Online
    J Online
    joseph
    Staff
    wrote last edited by
    #2

    @umnz are you able to check the size of the file in your backup storage directly? Does it match what Cloudron is reporting?

    U 1 Reply Last reply
    0
    • J joseph

      @umnz are you able to check the size of the file in your backup storage directly? Does it match what Cloudron is reporting?

      U Offline
      U Offline
      umnz
      wrote last edited by
      #3

      @Joseph yes, the size matches.

      There appears to be no rhyme or reason to these backup sizes after updating. Nightly is showing a smaller file size now.

      The reason it is noticeable is updating an app is taking 15-20 minutes because of the snapshot+upload to Cloudflare R2. 6GB takes a lot longer than 800mb.

      06d46b8a-dbf4-4d8d-a45f-191e022bca81-image.png

      1 Reply Last reply
      0
      • J Online
        J Online
        joseph
        Staff
        wrote last edited by
        #4

        @umnz you should download one of the backups from Cloudflare UI and check what is taking so much space inside the tarball.

        1 Reply Last reply
        0
        • U Offline
          U Offline
          umnz
          wrote last edited by umnz
          #5

          When I try to download the backup from the Cloudron interface I get this error:

          {
            "status": "Conflict",
            "message": "only tgz backups can be downloaded"
          }
          

          Is this because they are encrypted? .tar.gz.enc

          I will try the Cloudflare UI. But still curious to understand why that error occurs.

          J 1 Reply Last reply
          0
          • U umnz

            When I try to download the backup from the Cloudron interface I get this error:

            {
              "status": "Conflict",
              "message": "only tgz backups can be downloaded"
            }
            

            Is this because they are encrypted? .tar.gz.enc

            I will try the Cloudflare UI. But still curious to understand why that error occurs.

            J Online
            J Online
            joseph
            Staff
            wrote last edited by
            #6

            @umnz I think that was a bug, it's fixed in 9.0.14 .

            1 Reply Last reply
            1
            • J Online
              J Online
              joseph
              Staff
              wrote last edited by
              #7

              @umnz also if you open webterminal of n8n and then cd /app/data and du -hcs . what size do you get?

              U 2 Replies Last reply
              0
              • J joseph

                @umnz also if you open webterminal of n8n and then cd /app/data and du -hcs . what size do you get?

                U Offline
                U Offline
                umnz
                wrote last edited by umnz
                #8

                @joseph said in Bloated n8n backup:

                du -hcs .

                I get 1.5G.

                Be mindful since posting the above I have restarted my Cloudron instance which had been up (for 5 days) since automatically updating to 9.0.13.

                Cloudflare won't let me download files over 1G directly so I'll look to update to 9.0.14 now.

                1 Reply Last reply
                0
                • U Offline
                  U Offline
                  umnz
                  wrote last edited by
                  #9

                  Actually I'm going to hold off on updating to 9.0.14 because I don't want to risk it turning into a different problem. I'll wait for 9.0.14 to come out of pre-release or do it this weekend when activity is low.

                  1 Reply Last reply
                  0
                  • J joseph

                    @umnz also if you open webterminal of n8n and then cd /app/data and du -hcs . what size do you get?

                    U Offline
                    U Offline
                    umnz
                    wrote last edited by
                    #10

                    @joseph said in Bloated n8n backup:

                    du -hcs .

                    Sorry, I misread this. I navigated to cd app/data/ and it's 906MB. My other post was running that from app/code

                    1 Reply Last reply
                    0
                    • U Offline
                      U Offline
                      umnz
                      wrote last edited by
                      #11

                      Just an update - I have changed absolutely nothing but I'm seeing the nightly backup size get smaller.

                      image.png

                      1 Reply Last reply
                      0
                      • J Online
                        J Online
                        joseph
                        Staff
                        wrote last edited by
                        #12

                        Oh, that's great. I suspect some file inside n8n is growing in size and then gets compacted by some cron or something. If it grows again, please analyze the backup and check what file is growing.

                        1 Reply Last reply
                        0
                        • J joseph has marked this topic as solved
                        • P Offline
                          P Offline
                          p44
                          translator
                          wrote last edited by
                          #13

                          hi all, hi @joseph I think there is some problem going on, because I too had the opposite problem: the size decreased after some backup of LibreChat. Please have a look:

                          backup-size.gif

                          We’re talking about changes during 24-48 hours...

                          1 Reply Last reply
                          0
                          • J Online
                            J Online
                            joseph
                            Staff
                            wrote last edited by
                            #14

                            @p44 have you checked inside the backup what is changing in size?

                            P 1 Reply Last reply
                            0
                            • J joseph

                              @p44 have you checked inside the backup what is changing in size?

                              P Offline
                              P Offline
                              p44
                              translator
                              wrote last edited by
                              #15

                              @joseph What do you mean exactly? What I should check "inside the backup”?

                              1 Reply Last reply
                              0
                              • jamesJ Online
                                jamesJ Online
                                james
                                Staff
                                wrote last edited by james
                                #16

                                Hello @p44

                                I think, this might be no issue at all rather expected between each LibreChat version change.
                                I have checked the changelog of LibreChat app version 1.0.1 to 1.0.2 since that is the big size change.
                                Since Version the app version 1.0.2 upgraded LibreChat to 0.8.1 this also required a new meilisearch version the meilisearch DB file was reinitialized which is a necessary step.
                                This could explain the size change between the two version and would also make sense with all the other backups slowly increasing in size since the meilisearch db is filled over time.

                                If you can download the backup with the larger size and the latest that is smaller.
                                Cross compare them to see if it is truly just the meilisearch DB file, that would confirm it.

                                1 Reply Last reply
                                1
                                • P Offline
                                  P Offline
                                  p44
                                  translator
                                  wrote last edited by
                                  #17

                                  @james As I showed in the video, size decreased... not increased...

                                  1 Reply Last reply
                                  0
                                  • jamesJ Online
                                    jamesJ Online
                                    james
                                    Staff
                                    wrote last edited by
                                    #18

                                    Hello @p44
                                    Yes, exactly.

                                    I did not want to imply with

                                    the big size change

                                    that the size change was incremental but the difference was substential.
                                    Should have phrased that better.

                                    1 Reply Last reply
                                    1
                                    • U Offline
                                      U Offline
                                      umnz
                                      wrote last edited by
                                      #19

                                      Also note, I am waiting for 9.0.14 to be stable release before I can update and then download a backup. Currently it's not possible to download a backup in 9.0.13 from Cloudflare R2.

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