#!/bin/bash
# Configuration file for backup script
# CVS:     $Id: conf,v 1.11 2009/01/20 16:39:43 becki Exp $
# Author:  Stefan Beckert ( http://wiki.think-deep.com/becki:start )
# License: Public Domain
# Description:
#   see README


# Specify the transport type:
# Valid entries: ssh, rsh, rsyncd, local

ttype='ssh' # ssh as remote shell: secure but slow.
#ttype='local'  # Local copy, no remote machine involved
#ttype='rsyncd' # Connects to a remote rsync-server
#ttype='rsh' #rsh as remote shell: insecure, but fast. For trusted networks only


# Specify the target, i.e. where to backup your stuff:
# targetHost must be a valid domain name or IP-number
# Irrelevant, if ttype is 'local'

targetHost='karl'


# The name of your user account on the remote machine
# Irrelevant, if ttype is 'local'

targetUser='becki'


# A directory on the remote server where all backup files will end:
# make sure that this dir exists before you run beckibackup
# Your need write permission for this dir
# You can specify a dir within your home directory (starting without a slash)
# or an absolute path (starting with a slash)
# If you work with ttype=rsyncd (below) then targetDir is the module name
# correponding to /etc/rsyncd.conf at the target
# If you have inverted the trasfer direction (see invertTrasferDirection below)
# this dir must exist on THIS host, not on the remote one and it must be
# specified with the absolute path name (beginning with / )

targetDir='/home/bak/ilse'  # an absolute path name
#targetDir='bak/ilse'       # a dir inside your home dir
#targetDir='ilsebak'        # a module name for /etc/rsyncd.conf at the target


# Usually the client (this host) backs up his files to a remote server.
# Bue if this option is set to true the direction is inverted, i.e. the remote
# server backs up his files to this host.
# Then the 'sources' file on this host specifies the dirs on the remote host
# to be backuped to this host.
# default value: false or not set

copyDataFromSeverToClient='false'


# If, for some reason, you dont't want to check if the remote server is
# accessible before file tranfer is started, comment this out:
# default value: true

doPing='true'


# Testing: Set dryrun to true to show what would have been transferred, but
# don't transfer anything:
# default value: false or not set

dryrun='false'
