############################################################################# # Sources and destination # # # DESTINATION_DIR -> backup destination # # This directory will be used as backup destination. if DESTINATION_PARTITION # is set, this partition will be mounted/unmounted as necessary. # # Example : DESTINATION_DIR="/mnt/backup" # DESTINATION_DIR="/mnt/backup" # # DESTINATION_PARTITION -> External disk partition # # If set this partition will be automatically mounted/unmounted into # DESTINATION_DIR. # Tip: use /dev/disk/by-path, by-label, ... to make sure which disk is used # # Example : DESTINATION_PARTITION="/dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:0:0-part1" # DESTINATION_PARTITION="/dev/disk/by-label/pim-backup-1" # # SOURCE_DIRS_REMOTE -> List of remote source directories # # rsync will stay in one file system, so for a complete backup # SOURCE_DIRS_REMOTE will be the list of the mount points # # SOURCE_DIRS is an existing array, so directories should be added like # this : SOURCE_DIRS_REMOTE+=("/etc") # SOURCE_DIRS_REMOTE+=("root@SERVER_IP:/") SOURCE_DIRS_REMOTE+=("root@SERVER_IP:/etc/") # # EXCLUDE_SOURCE_DIRS -> List of source directories to exclude from backup # # Directories in this array will be excluded. # # EXCLUDE_SOURCE_DIRS is an existing array, so directories should be added like # this : EXCLUDE_SOURCE_DIRS+=("/var/lib/nagios3/spool/checkresults") # EXCLUDE_SOURCE_DIRS+=("/var/lib/nagios3/spool/checkresults") # # RSYNC_SSH_OPTIONS -> low level options for ssh # # Set port to 22, with aes128-ctr encryption, and disable compression #RSYNC_SSH_OPTIONS="ssh -T -p 22 -c aes128-ctr -o Compression=no" # #############################################################################