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.5.1 / October 17, 2015 (2015-10-17)
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.
  • Full backup,
  • Differential backup,
  • Incremental backup,
  • Decremental backup,
  • Takes care of any type of inode (directory, plain files, symlinks, special devices, named pipes, sockets, doors, ...)
  • 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,
  • Takes care of some filesystem specific attributes like Birthdate of HFS+ filesystem and immutable, data-journaling, secure-deletion, no-tail-merging, undeletable, noatime attributes of ext2/3/4 filesystem.
  • Per-file compression with gzip, bzip2, lzo, xz or lzma (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.
  • Optional public key encryption and signature (OpenPGP)
  • 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 or make a database export just in time and automatically removing it once saved in the backup
  • hash file (md5, sha1 or sha512) 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]