"Fossies" - the Fresh Open Source Software Archive

Member "rsync-backup-0.11/rsync-backup.conf.sample" (20 Dec 2020, 1920 Bytes) of package /linux/privat/rsync-backup-0.11.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "rsync-backup.conf.sample": 0.10_vs_0.11.

    1 #DIRS directories to backup, separated by space
    2 DIRS="/boot/"
    3 DIRS="$DIRS /etc/"
    4 DIRS="$DIRS /root/"
    5 DIRS="$DIRS /home/"
    6 DIRS="$DIRS /usr/local/"
    7 DIRS="$DIRS /var/bind/"
    8 #DIRS="$DIRS /var/lib/"
    9 #DIRS="$DIRS /var/nagios/"
   10 DIRS="$DIRS /var/spool/"
   11 DIRS="$DIRS /var/svn/"
   12 
   13 #MYSQLLV directory where the Logical Volume resists
   14 MYSQLLV="/dev/vg/varlib"
   15 
   16 #MYSQLMOUNTPOINT directory where the snapshot is mounted and backupped from
   17 MYSQLMOUNTPOINT="/var/lib-backup/"
   18 
   19 #MYSQLSNAPSHOTSIZE size of the snapshot to be created. Need be able to store all changes made during backup process
   20 MYSQLSNAPSHOTSIZE="512M"
   21 
   22 #EXCLUDE file patterns to be excluded from backup, separated by space (rsync format)
   23 EXCLUDE="/var/lib/mysql/bigdatabase/ /var/lib/mysql/otherbigdatabase/"
   24 
   25 #LIMIT bandwidth limit used by rsync (KB/s)
   26 LIMIT=""
   27 
   28 #DESTHOST destination user/host
   29 DESTHOST="user@host"
   30 
   31 #DESTDIR destination directory
   32 DESTDIR="."
   33 
   34 #SSHPORT port on which ssh is listening on the destination host
   35 SSHPORT="22"
   36 
   37 #DAILY number of daily backups to keep (minimum 7 to enable weekly backups, note that higher will not have effect if weekly is enabled)
   38 DAILY=7
   39 
   40 #WEEKLY number of weekly backups to keep (minimum 4 to enable monthly backups, note that higher will not have effect if monthly is enabled)
   41 WEEKLY=4
   42 
   43 #MONTHLY number of monthly backups to keep
   44 MONTHLY=2
   45 
   46 #RSYNCOPTS options to pass to rsync
   47 RSYNCOPTS="-RlpqrztH --one-file-system --delete"
   48 
   49 #STATUSFILE file where status of process is stored
   50 STATUSFILE="/var/spool/rsync-backup/rsync-backup.status"
   51 
   52 #NAGIOS_HOSTNAME name of the host in Nagios where result should be send to
   53 NAGIOS_HOSTNAME="myserver"
   54 #NAGIOS_SERVICE name of the server in Nagios where result should be send to
   55 NAGIOS_SERVICE="Backup myserver"
   56 #NAGIOS_NSCAHOST hostname of the NSCA server
   57 NAGIOS_NSCAHOST="nsca.mydomain.com"
   58 
   59 #ERROR_MAIL mail address where to send the log in case of error
   60 ERROR_MAIL="me@mydomain.com"
   61