Coder Social home page Coder Social logo

Comments (1)

abbbi avatar abbbi commented on September 21, 2024

i think the "issue" is that virtnbdbackup sometimes requests pretty big chunks from the NBD Service, if option
-v is used one can see that in the following example a nearly 50 mb chunk is requested from the NBD server.
During this time, until the complete chunk is received the progress bar isnt updated. The update to the progressbar is done once the complete chunk has been written.

So especially if doing a remote backup where the bandwidth is not as good, it might appear as if no progress is happening. Also, if the disk image has big data chunks in sequence, its noticable. Maybe the chunk.write option can
be changed to yield the size back to the caller so the progressbar can be updated more frequently.

[2023-12-10 08:23:36] DEBUG root virtnbdbackup - backupDisk [vda]:  Chunked data read from: start 1048576, length: 52232192
saving disk vda:   0%|

Alternative would be to pass the progressbar object to chunk.write and update its state there

from virtnbdbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.