Giter Club home page Giter Club logo

Comments (1)

elesiuta avatar elesiuta commented on September 26, 2024

Thanks for reporting this!

I was able to replicate a similar issue using permissions, however in your case it looks like the folder is corrupted.

I'm still thinking about the best way to handle this, if the unreadable folder is the destination for a backup or mirror, any files that were there will simply show up as missing, and trying to copy anything back there from the source will simply result in failed transfers for those files.

However if the unreadable folder is in the source for a mirror, or either side for a sync with deletions, these files will appear as being deleted and a user not paying attention to the diff could now lose their backup.

For this reason I think it is safer for BackuPy to throw an error and quit without doing anything. I'm still going to think about this for a bit but I'll likely just catch this error and print a more user friendly message then quit.

If you want it to continue running and just ignore this unreadable folder, you can add it to your config by setting filter_exclude_list = ["_X"] or from the command line with --fe "_X" (note I just fixed a bug with filters #5)

from backupy.

Related Issues (8)

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.