Git Product home page Git Product logo

backupnow's People

Contributors

poikilos avatar

Watchers

 avatar

backupnow's Issues

Consider switching to rsyncwrap or a purely-Python implementation of rsync

https://pypi.org/project/rsyncwrap/

  • It provides stats for a callback function.
  • Using this means #1 can be closed.
  • Other packages on PyPI matching rsync have one of the following issues:
    • They are redundant with "--info=progress2"--are merely fancy terminal displays
    • They do not provide a callback
    • They re-implement the rsync protocol in Python.
      • This may be a benefit rather than an issue in order to provide Windows compatibility without additional steps.

Others:

Convert some errors to warnings rather than failures so the calling program doesn't fail.

skipping non-regular file "Documents"
         80,428   0%   68.15MB/s    0:00:00 (xfr#9, ir-chk=1029/1050)
skipping non-regular file "wrong stuff/Send Registration"
     18,446,955   1%  536.72kB/s    0:00:33 (xfr#137, to-chk=158/1329)
rsync: mkstemp "/media/maria/CRUZER64/maria/Desktop/Marilyn/.MKA 2:14:13.cwk.2y1VfK" failed: Invalid argument (22)
     36,808,026   2%    1.01MB/s    0:00:34 (xfr#138, to-chk=0/1329)  

Later it looks like:

skipping non-regular file "Documents"
         80,428   0%   68.15MB/s    0:00:00 (xfr#9, ir-chk=1029/1050)
skipping non-regular file "wrong stuff/Send Registration"
     18,446,955   1%  536.72kB/s    0:00:33 (xfr#137, to-chk=158/1329)
rsync: mkstemp "/media/maria/CRUZER64/maria/Desktop/Marilyn/.MKA 2:14:13.cwk.2y1VfK" failed: Invalid argument (22)
     36,808,026   2%  640.87kB/s    0:00:56 (xfr#138, to-chk=0/1329)  
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]

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.