Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A utility that extends and simplifies using dar (Disk ARchive) for doing routine incremental backups.

Project Description

Darfortie is a front-end for the dar (Disk ARchive) utility ( It adds functionality to the dar utility and makes it simpler to use for creating incremental backups. It is meant to facilitate a more convienent backup strategy, typically one run periodically by a cron task.

The utility can be run repeatedly with the same parameters, and each run will generate a new incremental archive based on the last one created. It will search the directory where the current archive is being created for past reference archives, or a directory can be specified to search in (-I).

The first backup is created without the incremental option (-i).

Further incremental backups are created using the -i option and the same (base) name. Darfortie adds the date/time to the final name to make it unique. It relies on this naming convention to find the most recent reference backup it should use.

It is suggested that for the base name you adopt a convention such as:


where “machine” is the machine name being backed up, and “daily” is for daily incremental backups. The end result would result in names like:


A configuration file can be passed through to dar by using the -c switch. If not specified, dar will search for and use any dar configuration file it normally would (ie. /etc/darrc, ~/.darrc). See the dar man page for details on its structure (“CONDITIONAL SYNTAX”).

It also allows you to pass thru dar prune paths.

Install darfortie by running:

  1. Installing Python (either v2 or v3) if not already installed.
  2. Download a configuration file to use with the -c option at
  3. Run pip install -i darfortie

For a complete list of options, run:

python darfortie --help

This is BETA software. Use at your own risk. Please:

  1. Test for suitability before using for “real” data.
  2. During testing, use “dar -d …” to compare the created backup against the filesystem.
  3. For testing, do a complete restore to a separate filesystem and compare results.

There is an older bash-based version in the “bash_version” directory, kept ONLY for historical reasons.

There is currently no restore option - use the dar utility directly to do restores.

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
darfortie-1.0.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Aug 24, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting