Dar (disk archiver)

From Wikipedia, the free encyclopedia
  (Redirected from DAR (Disk Archiver))
Jump to: navigation, search
Initial release 2 February 2002; 13 years ago (2002-02-02)[1]
Stable release 2.4.17 / January 31, 2015 (2015-01-31)
Operating system Cross-platform
Type Data compression
License GPL
Website dar.linux.free.fr

dar (disk archive) is a computer program, a command-line archiving tool[2] intended as a replacement for tar in Unix-like operating systems.


  • Support for slices, archives split over multiple files of a particular size.
  • Option of deleting files from the system which are removed in the archive.
  • Incremental backup,
  • Decremental backup,
  • Takes care of hard-linked inodes (hard-linked plain files, char devices, block devices, hard-linked symlinks (!))
  • Takes care of sparse files,
  • Takes care of the withdrawn POSIX draft Extended Attributes, which implies withdrawn POSIX draft File ACL under Linux and File forks under Mac OS X,
  • Per-file compression with gzip, bzip2 or lzo (as opposed to compressing the whole archive). An individual can choose not to compress already compressed files based on their filename suffix.
  • Fast-extracting of files from anywhere in the archive.
  • Fast listing of archive contents through saving the catalogue of files in the archive.
  • Optional Blowfish, Twofish, AES, Serpent, Camellia encryption.
  • Live filesystem backup: detects when a file has been modified while it was read for backup and can retry saving it up to a given maximum number of retries
  • Live Database backup: a user command can be launched before and after saving a particular set of files or directories, suitable to put a database in a consistent state during its backup,
  • hash file (md5 or sha1) generated on-fly for each slice, the resulting file is compatible with md5sum or sha1sum, to be able to quickly check each slice's integrity,
  • Dar is filesystem independent: it may be used to restore a system to a partition of a different size and/or to a partition with a different filesystem.[3]
  • Runs under Linux, Windows, FreeBSD, NetBSD, OpenSolaris, Mac OS X and probably some other systems (dar should run at least under any Unix system).


There are GUI frontends for dar called:

A text-mode browser/extractor: plugin for dar files in mc (Midnight Commander).

A scheduler / command-line frontend known as SaraB allows the Towers of Hanoi, Grandfather-Father-Son, or any custom backup rotation strategy, and modifications are available for PAR file support. Extended versions known as bzSaraB and baras are also available.

See also[edit]

External links[edit]