################################################################################ # # # rbs.conf - Remote Backup System config file # # # # # # For help and description of some parameters run # # # # $ rbs help # # # # Version: $Id: rbs.conf.sample,v 1.4 2007/01/23 16:01:20 shurra Exp $ # # # ################################################################################ # total number of backups to leave on backup server # to keep all backups (untill dick quota exceeded) enter 0 rotation 10 umask 0027 # do not clear screen after change menu (only scrool) clear-screen yes # delay (in sec) after each successfull command post-delay 3 [ssh] # SSH parameters # full name of SSH key file to make backups store-key /home/backup/.ssh/key-store # full name of SSH key file to receive backups # we strongly recommend to save this file on remote devices # (floppy, USB flash drive, etc.) # you can leave this parameter empty - the rbs utility # will ask you for this file before backup retrieving restore-key /floppy/.ssh/key-restore # SSH protocol to use protocol 1 # type of SSH key: rsa1, rsa and dsa # normally use rsa1 type rsa1 # size of SSH key file's - no need to change default value size 2048 # path to save SSH public keys # after generation this keys, # this keys should be passed ti backup server # and then may be deleted public-path /home/backup/ssh-public # host name or IP address of backup server server backup.colocall.net # backup pseudo user name # do NOT change! username backup [openssl] # openssl take all your data in secret # make big attention to keep your ssl key file # in secret key /home/backup/.ssl-backup # size of ssl key file - no need to change default value size 2048 [backup] # default list of files to make backups # if you want to make several different backups # see [backup-X] section # backup file name # usefull to name your backups by hostname or # backup data type # no need to save date and time of backup - # it saves automatically backup-name my.host.name # backup files or directories to process # you can use patterns like *.foo, mydata.*, etc # several patterns input on next line include /etc include /usr/local/etc # next files or directories do not processed # note that exclusions take precedence over include pattern # several patterns input on next line exclude *.bak exclude *.core # compression method: gzip, bzip2 or none method gzip # compression level: # 1 - fastest (but bigger backup size) # 9 - slowest (but smaller backup size) # 5 - default compression 5 [security] # in log-file saved all actions of backup work log-file /home/backup/backup.log # log level: low, medium and high log-level high # e-mail to send all batch reports # leave empty if you don't want to receive this reports report-email test@example.com [restore] # default name of directory to save backup from backup server # in interactive mode you can change this default name restore-dir restore # overwrite existing files: yes, no, ask overwrite ask [backup-2] # an example to backup www data # you cau use several different backups, # named like backup-N, # there N - one character (from 2-9, A-Z) # # parameters method and compression also # can be used in this section # this name used in menu only (interactive mode) backup-name my.host.name-www include /var/www exclude *.old exclude *.log*