1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
####
# config for hdup
#
# see man 5 hdup.conf for more information
# '#' is comment, empty lines are ignored
#
# Skeleton hdup.conf file to be installed by distribution
# See for a full explanation the hdup.conf manpage
#
####
[global]
# where to put the tar archives
archive dir = /vol/backup/
# use the normal date
date spec = iso
# overwrite archives in the backup dir
always backup = on
# skip the archive dir from the backup
skip = on
# restore option: disallow restoring to /
force = no
# overwrite existing archives in 'archive dir'
overwrite = on
# ssh options
proto = /usr/bin/ssh
proto option = -q -oProtocol=2
# chown the archives to this user
user = operator
# compression options
compression = bzip
compression level = 6
# don't include theses directories
exclude = lost\+found/, /proc/, /dev/, /sys/
# is such a file is found, exclude that directory
nobackup = .nobackup
# give tar some extra options, not needed
# tar option =
# my own host, backup this all important directory
[elektron]
# what to backup, separate with ,
dir = /home/
# if we want to split it (to fit a CD)
#chunk size = 640m
# which regexp to include
#include = .*\.html, .\*.txt
#allow remote = yes
#algorithm = gpg
#key = miek
#remote hdup = /home/miekg/hdup16/src/hdup2
#remote hdup option = -c /home/miekg/hdup16/hdup2.conf
# my laptop will put some archive heres, put them in
# them in the correct place
[www-host]
dir = /var/www
# log to syslog
log = yes
exclude = /var/.*/docs/
one filesystem = no
compression = gzip
#key = key2
#algorithm = tripledes
allow remote = no
free = 20m
#prerun = echo %c %e
remote hdup = /mnt/key/hdup16/src/hdup2
remote hdup option = -c /mnt/key/hdup16/hdup2.conf
|