Giter Club home page Giter Club logo

check-time-machine's People

Contributors

briankendall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

miczac eransha75

check-time-machine's Issues

StdExclusions.plist does not Exist in newer MacOS

First of all, thank you Brian for that script. It shows that I am not alone with a unreliable TimeMachine Backup.

Nevertheless I cannot make it work since the StdExclusions.plist seems to have vanished during a later MacOS release. (I am using latest Big Sur 11.2.3) When I run the script, it immediately stops with the following Error:

Traceback (most recent call last):
  File "checktimemachine.py", line 560, in <module>
    initialize()
  File "checktimemachine.py", line 549, in initialize
    readStdExclusions()
  File "checktimemachine.py", line 544, in readStdExclusions
    excl = plistlib.readPlist('/System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 75, in readPlist
    pathOrFile = open(pathOrFile)
IOError: [Errno 2] No such file or directory: '/System/Library/CoreServices/backupd.bundle/Contents/Resources/StdExclusions.plist'

I tried to find out where that exclusion file is located now. That was not successful. Maybe someone else has a hint.

script stops when running from / but one volume is not mounted - how to check / ?

Hello, many thanks for this script!
This is on macOS 10.12.6, trying to back up a couple of external volumes.

$ sudo python ~/Downloads/checktimemachine.py 
*** Checking volume: 230GB-1
Getting list of files from source volume...
...found 20000      
Done
Getting list of files from Time Machine backup...
...98%-ish complete      
Done

Comparing, 100% complete      
Done
*** Checking volume: DATA-1TB-01
Getting list of files from source volume...
Error: "" does not exist on disk. Cannot continue!

I suspect it's simply because this DATA-1TB-01 disk is not mounted but, of course, has backups.
Is there a chance to scan / without unmounting all the disks?
Thanks a lot - Michael.

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.