Clone

Jul 20, 2023

File tree cloning tool

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 synchronization 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.



Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron