X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=examples%2Fexample.maildir;h=eba54296c543f94a1dd7f21f907dc1d73e00d22f;hb=ac1a55a22999e2161c42f8c30fb497461017d93e;hp=d837cac6b99ac48825920b98b9da3851304ce385;hpb=929a6bda9ab797ef04d46c559ed068e03dacf330;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/examples/example.maildir b/examples/example.maildir index d837cac..eba5429 100644 --- a/examples/example.maildir +++ b/examples/example.maildir @@ -18,6 +18,9 @@ ## 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 @@ -32,11 +35,13 @@ keepweekly = 3 keepmonthly = 1 # directory which contains all the maildirs -# this directory is expected to have subdirectories lettered a-z and -# in each letter subdirectory are the users Maildirs which start with -# those letters 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 @@ -45,6 +50,16 @@ desthost = kakapo-pn # arbitrary bash commands on the desthost. destuser = backer +# For alternate ports from the default 22, specify here +destport = 4444 + +# If you need to specify an alternate ssh public key authentication file +# do that here. Default: /root/.ssh/id_rsa +destid_file = /home/backupkeys/.ssh/maildirbackup_id_rsa + +# If you need to specify other ssh configuration options, do that here +sshoptions = "-C -6" + # remove any maildirs from backup which might have been deleted remove = yes