大文件版本控制工具 bfsync 0.2.0 发布
jopen 13年前
<p><a href="/misc/goto?guid=4958186924247075129" target="_blank">bfsync </a>是一个为大文件提供 git 风格的版本控制的程序,文件内容使用 bfsync 管理,使用 git 资料库来完成版本控制,资料库只存储数据文件的哈希值。</p> <p>该版本几乎进行了整个项目重写,再基于 git ,而是使用 SQLite 数据库存储内容;使用 FuSE 文件系统来查看和编辑资料库内容;改进了版本历史记录;存储更多的元数据,包括用户、组和硬链接、设备等。</p> <h2><span id="What_Bfsync_can_do" class="mw-headline">Bfsync能够实现: </span></h2> <ul> <li><b>synchronize a collection of big files between many machines</b>, where the collection is changed independently on different machines</li> </ul> <ul> <li><b>offline commits</b>, so you can change files and commit on your laptop and resynchronize as soon as you have network connectivity again</li> </ul> <ul> <li><b>file-level deduplication</b>, so storing a file twice under different names will not use more space than storing it once - also renames or removing a file and re-adding it will not retransfer the data, if the repository already has it</li> </ul> <ul> <li><b>storing all attributes</b>, bfsync stores everything a normal filesystem would store, like user/group settings, permissions, symlinks, hard links, devices, ... (this is useful for backups)</li> </ul> <ul> <li><b>storing each file only once</b>: many version control systems store files two times on the users machines, once internally and a second time as "checkout"; especially for huge files (mp3s, photos, videos) this is not convenient. bfsync stores each file only once, and provides a view on the data in the FuSE filesystem; it uses <b>copy-on-write</b> if a file is modified</li> </ul> <ul> <li><b>old versions remain available</b>: bfsync keeps all files and all versions available in each checkout; within the filesystem there is a .bfsync/commits/N directory for all commits, so you can look at all old versions from within the filesystem</li> </ul> <ul> <li><b>rate-limiting</b>: since big files take extremely long to transfer, bfsync allows to limit the bandwidth used for file transfer, so it can run in background without disturbing your normal work</li> </ul> <p><img style="width:517px;height:252px;" alt="大文件版本控制工具 bfsync 0.2.0 发布" src="https://simg.open-open.com/show/f95423167376d0a85cdb4a415eb73a12.png" /> </p>