diff options
author | Micah Anderson <micah@riseup.net> | 2009-02-19 12:20:44 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-02-19 12:20:44 -0500 |
commit | 27a7859c42394a78c16b24f0d08ca28667bb1efa (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /examples/example.maildir | |
parent | 386c4275946520bc590428e730a9d515155436a0 (diff) | |
download | backupninja-27a7859c42394a78c16b24f0d08ca28667bb1efa.tar.gz backupninja-27a7859c42394a78c16b24f0d08ca28667bb1efa.tar.bz2 |
creating a debian only branch out of what used to be a subversion repository
Diffstat (limited to 'examples/example.maildir')
-rw-r--r-- | examples/example.maildir | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/examples/example.maildir b/examples/example.maildir deleted file mode 100644 index 8898a78..0000000 --- a/examples/example.maildir +++ /dev/null @@ -1,58 +0,0 @@ -## -## This is an example maildir configuration file. -## -## The maildir handler slowly creates a backup of each user's -## maildir to a remote server. It is designed to be run with -## low overhead in terms of CPU and bandwidth, so it runs pretty -## slow. Hardlinking is used to save storage space. The actual -## maildir is stored within each snapshot directory. -## -## The basic algorithm is to rsync each maildir individually, -## and to use hard links for retaining historical data. -## -## We handle each maildir individually because it becomes very -## unweldy to hardlink and rsync many hundreds of thousands -## of files at once. It is much faster to take on smaller -## chunks at a time. -## -## Any maildir which is deleted from the source will be moved to -## "deleted" directory in the destination. It is up to you to -## periodically remove this directory or old maildirs in it. -## -## Note: This handler assumes that the remote shell is set to bash -## -## The defaults are useful in most cases, just make sure -## to configure the source and destination information - -when = everyday at 21:00 - -## each users maildir will contain these files: -## daily.1, daily.2, daily.3, daily.4, daily.5, weekly.1, weekly.2, -## weekly.3, monthly.1 -## if keepdaily is 5, keepweekly is 3, and keepmonthly is 1 -keepdaily = 5 -keepweekly = 3 -keepmonthly = 1 - -# directory which contains all the maildirs -srcdir = /maildir/riseup.net - -# the srcdir is expected to contain the following subdirectories. Each -# of these will contain the user's Maildirs which start with these -# letters -srcsubdirs = 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z - -# put the backups under this directory -destdir = /crypta/maildir/riseup.net -desthost = kakapo-pn - -# For the backup rotation to work, destuser must be able to run -# arbitrary bash commands on the desthost. -destuser = backer - -# remove any maildirs from backup which might have been deleted -remove = yes - -# use a ssh-mux to reuse connections, see the following article -# http://www.debian-administration.org/articles/290 for an example -multiconnection = notset |