A little script I wrote to fix the Time Machine sparsebundle NAS based backup errors. It follows this tutorial:
In order to run this, the script file must be executable and you must have Ruby installed:
sudo chmod 777 fix_sparse_bundle.rb
Then, you run it with:
./fix_sparse_bundle.rb