Better example.dup documentation. Thanks, Alster!

This commit is contained in:
intrigeri 2010-05-06 19:47:54 +02:00
parent 6cf9c8988b
commit 219a6eb958
3 changed files with 29 additions and 13 deletions

View File

@ -14,6 +14,7 @@ version 0.9.8 -- UNRELEASED
. Put archive directory (cache) into /var/backups/duplicity rather . Put archive directory (cache) into /var/backups/duplicity rather
than the default /root/.cache/duplicity, unless the user than the default /root/.cache/duplicity, unless the user
has specified it (Closes: 580213) has specified it (Closes: 580213)
. Better example.dup documentation. Thanks, Alster!
version 0.9.7 -- January 27, 2010 version 0.9.7 -- January 27, 2010
backupninja changes backupninja changes

View File

@ -19,7 +19,8 @@
## Default: ## Default:
# nicelevel = 0 # nicelevel = 0
## test the connection? set to no to skip the test if the remote host is alive ## test the connection? set to no to skip the test if the remote host is alive.
## if 'desturl' is set below, 'testconnect' must be set to 'no' for now.
## ##
## Default: ## Default:
# testconnect = yes # testconnect = yes
@ -169,6 +170,7 @@ exclude = /home/*/.gnupg
## desturl = file:///usr/local/backup ## desturl = file:///usr/local/backup
## desturl = rsync://user@other.host//var/backup/bla ## desturl = rsync://user@other.host//var/backup/bla
## desturl = s3+http:// ## desturl = s3+http://
## desturl = ftp://myftpuser[:myftppassword]@ftp.example.org/remote/ftp/path
## the default value of this configuration option is not set: ## the default value of this configuration option is not set:
## ##
## Default: ## Default:
@ -183,8 +185,9 @@ exclude = /home/*/.gnupg
# awsaccesskeyid = # awsaccesskeyid =
# awssecretaccesskey = # awssecretaccesskey =
## bandwith limit, in kbit/s ; default is 0, i.e. no limit an example ## bandwith limit, in kbit/s ; default is 0, i.e. no limit
## setting would be: ## if using 'desturl' above, 'bandwidthlimit' must not be set
## an example setting of 128 kbps would be:
## bandwidthlimit = 128 ## bandwidthlimit = 128
## ##
## Default: ## Default:
@ -199,14 +202,18 @@ exclude = /home/*/.gnupg
## Default: ## Default:
# sshoptions = # sshoptions =
## put the backups under this directory, this must be set! ## put the backups under this destination directory
## if using 'desturl' above, this must not be set
## in all other cases, this must be set!
## an example setting would be: ## an example setting would be:
## destdir = /backups ## destdir = /backups
## ##
## Default: ## Default:
# destdir = # destdir =
## the machine which will receive the backups, this must be set! ## the machine which will receive the backups
## if using 'desturl' above, this must not be set
## in all other cases, this must be set!
## an example setting would be: ## an example setting would be:
## desthost = backuphost ## desthost = backuphost
## ##
@ -214,12 +221,11 @@ exclude = /home/*/.gnupg
# desthost = # desthost =
## make the files owned by this user ## make the files owned by this user
## note: you must be able to ssh backupuser@backhost ## if using 'desturl' above, this must not be set
## without specifying a password (if type = remote). ## note: if using an SSH based transport and 'type' is set to 'remote', you must
## be able to 'ssh backupuser@backuphost' without specifying a password.
## an example setting would be: ## an example setting would be:
## destuser = backupuser ## destuser = backupuser
## ##
## Default: ## Default:
# destuser = # destuser =

View File

@ -280,7 +280,8 @@ options = $dup_options
# default is 0, but set to 19 if you want to lower the priority. # default is 0, but set to 19 if you want to lower the priority.
nicelevel = $dup_nicelevel nicelevel = $dup_nicelevel
# default is yes. set to no to skip the test if the remote host is alive # default is yes. set to no to skip the test if the remote host is alive.
# if 'desturl' is set below, 'testconnect' must be set to 'no' for now.
testconnect = $dup_testconnect testconnect = $dup_testconnect
###################################################### ######################################################
@ -429,6 +430,7 @@ keep = $dup_keep
#desturl = file:///usr/local/backup #desturl = file:///usr/local/backup
#desturl = rsync://user@other.host//var/backup/bla #desturl = rsync://user@other.host//var/backup/bla
#desturl = s3+http://your_bucket #desturl = s3+http://your_bucket
#desturl = ftp://myftpuser[:myftppassword]@ftp.example.org/remote/ftp/path
# Amazon Web Services Access Key ID and Secret Access Key, needed for backups # Amazon Web Services Access Key ID and Secret Access Key, needed for backups
# to S3 buckets. # to S3 buckets.
@ -436,6 +438,8 @@ keep = $dup_keep
#awssecretaccesskey = YOUR_AWS_SECRET_KEY #awssecretaccesskey = YOUR_AWS_SECRET_KEY
# bandwith limit, in kbit/s ; default is 0, i.e. no limit # bandwith limit, in kbit/s ; default is 0, i.e. no limit
# if using 'desturl' above, 'bandwidthlimit' must not be set
# an example setting of 128 kbps would be:
#bandwidthlimit = 128 #bandwidthlimit = 128
bandwidthlimit = $dup_bandwidth bandwidthlimit = $dup_bandwidth
@ -445,15 +449,20 @@ bandwidthlimit = $dup_bandwidth
#sshoptions = -o IdentityFile=/root/.ssh/id_dsa_duplicity #sshoptions = -o IdentityFile=/root/.ssh/id_dsa_duplicity
sshoptions = $dup_sshoptions sshoptions = $dup_sshoptions
# put the backups under this directory # put the backups under this destination directory
# if using 'desturl' above, this must not be set
# in all other cases, this must be set!
destdir = $dup_destdir destdir = $dup_destdir
# the machine which will receive the backups # the machine which will receive the backups
# if using 'desturl' above, this must not be set
# in all other cases, this must be set!
desthost = $dup_desthost desthost = $dup_desthost
# make the files owned by this user # make the files owned by this user
# note: you must be able to ssh backupuser@backhost # if using 'desturl' above, this must not be set
# without specifying a password (if type = remote). # note: if using an SSH based transport and 'type' is set to 'remote', you must
# be able to 'ssh backupuser@backuphost' without specifying a password.
destuser = $dup_destuser destuser = $dup_destuser
EOF EOF