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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Backup progress units - MB? Mb? Something else?

Scheduled Pinned Locked Moved Solved Support
6 Posts 4 Posters 27 Views
    • 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.
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    wrote on last edited by
    #1

    (I did search previous messages but could not find any mention. Apologies if this was answered before)

    I'm currently doing a backup of a heavily used app. It's been stuck at 15% for a number of hours. From the progress both the GUI indicator:

    6ced0be0-2840-46a2-94d5-c7a4bd045df6-image.png

    and CLI indicator:

    Aug 16 15:49:53 box:tasks update 10767: {"percent":15,"message":"Backup - Uploading backup 55227M@10MBps (APP.DOMAIN.TLD)"}
    

    it's unclear to me the units of the progress so far.

    Is it 55227MB or Mb?

    This combined with not being able to work out the total size means I'm unable to say if this has stalled, work out how long it'll take, etc.

    Any help appreciated!

    1 Reply Last reply
    0
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    wrote on last edited by
    #2

    https://forum.cloudron.io/post/71123

    🙂 This might help you.

    Like my work? Consider donating a drink drink. Cheers!

    ei8fdbE 1 Reply Last reply
    0
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    wrote on last edited by
    #3

    Actually looking at the progress in the CLI:

    {"percent":15,"message":"Backup - Uploading backup 60411M@5MBps 
    {"percent":15,"message":"Backup - Uploading backup 60501M@9MBps
    {"percent":15,"message":"Backup - Uploading backup 60648M@15MBps
    {"percent":15,"message":"Backup - Uploading backup 60807M@16MBps
    {"percent":15,"message":"Backup - Uploading backup 60890M@8MBps
    {"percent":15,"message":"Backup - Uploading backup *61060M*@17MBps
    {"percent":15,"message":"Backup - Uploading backup *61060M*@0MBps
    {"percent":15,"message":"Backup - Uploading backup *61060M*@0MBps
    ...
    {"percent":15,"message":"Backup - Uploading backup *219M*@5MBps
    {"percent":15,"message":"Backup - Uploading backup *255M*@4MBps
    {"percent":15,"message":"Backup - Uploading backup *278M*@2MBps
    

    I expected those numbers before the M@xMBps would always increment. I thought they were showing how much had been backuped/updated already. Is this assumption incorrect?

    girishG 1 Reply Last reply
    0
  • ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    replied to BrutalBirdie on last edited by ei8fdb
    #4

    Thanks @BrutalBirdie. That might help. I think I may have the syntax wrong.

    From your command in that post, in my case the box-TASKID.service is 10767, so I take it the correct syntax is:

    watch -d -n 0.1 ls -lah /proc/$10767/fd/

    is that right?

    I'm getting the following issue

    Every 0.1s: ls -lah /proc/10767/fd/                                                                        apps: Wed Aug 16 16:14:26 2023
    
    ls: cannot access '/proc/10767/fd/': No such file or directory
    
    
    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to ei8fdb on last edited by
    #5

    @ei8fdb it should always increase. It looks like the upload is failing in the middle and thus the upload is restarting. Are there no errors in between? If not, it could be that the backup process is running out of memory. Backups -> configure -> bump the memory limit.

    robiR 1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    replied to girish on last edited by
    #6

    @girish perhaps include printing memory usage as part of the stats in the logs

    Life of sky tech

    1 Reply Last reply
    1
  • girishG girish has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.