briankendall / check-time-machine Goto Github PK
View Code? Open in Web Editor NEWPython script for checking to make sure all of your files are actually backed up by Time Machine, and offers options for fixing files that are not.
Python script for checking to make sure all of your files are actually backed up by Time Machine, and offers options for fixing files that are not.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.