Jump to content

Dar (disk archiver)

From Wikipedia, the free encyclopedia
Initial release2 February 2002; 22 years ago (2002-02-02)[1]
Stable release
2.7.13[2] Edit this on Wikidata / 1 October 2023
RepositoryDAR Repository
Operating system
TypeData compression

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


  • 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 Linux file Extended Attributes,
  • Takes care of Linux file ACL
  • Takes care of Mac OS X file forks
  • 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
  • Hash file (MD5, SHA1 or SHA-512) 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
  • 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[5]


There are GUI frontends for dar called:

  • Kdar for Linux, specifically KDE,
  • DarGUI for Linux and Windows,
  • gdar for Linux.

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]


  1. ^ "DAR - Disk ARchive has 10 Years!". dar.linux.free.fr.
  2. ^ "Release v2.7.13".
  3. ^ "DAR - Disk ARchive". dar.linux.free.fr. Retrieved 2019-01-05.
  4. ^ "Dar's Documentation". dar.linux.free.fr.
  5. ^ "DAR - Tutorial". dar.linux.free.fr.

External links[edit]