Ⅰ. 插件描述
Time Machine Sparsebundle FixⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chase-miller/time-machine-sparce-bundle-fix'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chase-miller/time-machine-sparce-bundle-fix'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chase-miller/time-machine-sparce-bundle-fix'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chase-miller/time-machine-sparce-bundle-fix
Ⅳ. 文档说明
time-machine-sparce-bundle-fix
Summary:
When Time Machine backs up to a NAS, it will often get corrupted and prompt a message saying,
“Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you.”
This script fixes that issue so that Time Machine can continue using the existing backup.
Instructions:
1) First mount the backup drive share so that the sparcebundle is accessible.
2) Make sure the script has execute permissions: chmod +x fix_time_machine.sh
3) Run the script:
Usage - fix_time_machine.sh /Volumes/[BackupDrive]/[SparceBundle].sparsebundle/
Credit:
It is based off a guide written by Garth Gillespie at http://www.garth.org/archives/2011,08,27,169,fix-time-machine-sparsebundle-nas-based-backup-errors.html
It is also a modified version of http://pastebin.com/iw5nYFb0 - credit goes to anon.