View on GitHub

Clone

A File Tree Cloning Tool

Download this project as a .zip file Download this project as a tar.gz file

clone is a file tree cloning tool which runs 3 threads - a scheduler (main), a reader, and a writer thread. Reading and writing occurs in parallel. While this is most beneficial for copying data from one physical disk to another, clone is also very well suited for cloning a file tree to any place on the same disk.

Cloning includes the whole directory hierarchy, i.e. sub-directories, files, hard links, symbolic links, attributes (modes, flags, times), extended attributes and access control lists.

clone is useful for cloning (thus backing-up) live file systems, and it can also be used in incremental and synchonization mode.

clone works on FreeBSD and Mac OS X.

clone is very fast, for example, cloning a whole UFS2 file hierarchy on FreeBSD 9.1 of in total 2.3 TBytes of data from one hard disk to another took 7.5 h, so the average transfer rate for all kind of files (very small up to very big ones) was about 89 MByte/s.


On my BLog, I posted an article in German language on how to employ clone for the Backup Strategy of a FreeBSD Home Server. Please use the MS Bing Translator in order to translate said BLog post into your favorite language.