Commit d3e01360 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

copy sections introduced

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4377
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 13e538a3
......@@ -13,6 +13,7 @@
# REVISIONS and CHANGES
# 11/09/2011 V1.0 Daniel Armbruster
# 08/01/2012 V1.1 new configuration file syntax
# 11/01/2012 v1.2 copy sections introduced
#
#
# ============================================================================
......@@ -35,14 +36,32 @@
# password = pw
# logging = no
#
# [copies]
# keys = copy1, copy2
#
# [backups]
# keys = backup1, backup2, backup3
#
# [tests]
# keys = test1, test2
#
# [copy_copy1]
# cronexpr = */30 * * * *
# srcdir = /data/
# targetdir = /data.bak/
# exclude = *.log, tmp*
# specialcommands = --recursive --links --keep-dirlinks
#
# [copy_copy2]
# cronexpr = * */1 * * *
# srcdir = /etc
# targetdir = /media/usb/bak/
# specialcommands = --recursive
#
# [backup_backup1]
# cronexpr = * */10 * * *
# copy = yes
# copy-exclude = *.log, *.tmp
# srcdir = /data1/
# targetdir = /data1.bak/
# exclude = .*.log$, .*`date '+%j'`$
......@@ -51,6 +70,8 @@
#
# [backup_backup2]
# cronexpr = * */11 * * *
# copy = yes
# copy-exclude = *log
# srcdir = /data2/
# targetdir = /media/data2.bak/
# recursive = no
......@@ -99,28 +120,51 @@
# ~/.csback/log/ . (default no)
#
#
# Backups and Tests:
# Copies, Backups and Tests:
# ------------------
# Next backup sections have to be defined within the [backups] section. If only
# testing a directory is desired the keys must be defined in the [tests]
# section. Note that the section names must be comma seperated
#
# In the following sections the backup and test expression have to be set up.
# section. Note that the section names must be comma seperated. Additionally
# there is the possibility to provide only a copy command which does neither
# imply generating checksumfiles nor testing the checksums afterwars.
#
# In the following sections the copy, backup and test expressions have to be
# set up.
# =============================================================================
# IMPORTANT NOTE: The exclude regular expressions and the patterns to exclude
# files and directories from the copy procedure are slightly different. For
# further information read the manpage of rsync especially the INCLUDE/EXCLUDE
# PATTERN RULES section. The csback regular expressions are regexes in a common
# sense.
# =============================================================================
#
# Copies:
# -------
# cronexpr Cron expression when to run a backup.
# srcdir Directory path to source data.
# targetdir Directory path to backup data.
# exclude Pattern rule to exclude files from copying
# specialcommand Special rsync command which will be appended as well.
#
# Backups:
# -------
# cronexpr Cron expression when to run a backup.
# srcdir Directory path to source data.
# targetdir Directory path to backup data.
# exclude Comma (followed by a whitespace) seperated regular expressions of
# files/directories to be excluded from the backup.
# recursive Include files of subdirectories. (default yes)
# logging Switch on the logging mechanism to the csback logfiles in
# ~/.csback/log/ . (default yes)
# followlinks Follow softlinks in srcdir. (default no)
# test After backing up the data perform a test. (default yes)
# tolerant While checking don't report anything if a file which is listed is
# missing. (default no)
# cronexpr Cron expression when to run a backup.
# srcdir Directory path to source data.
# targetdir Directory path to backup data.
# exclude Comma (followed by a whitespace) seperated regular expressions
# of files/directories to be excluded from the backup.
# recursive Include files of subdirectories. (default yes) Refers as well
# to the copy command if copy enabled.
# logging Switch on the logging mechanism to the csback logfiles in
# ~/.csback/log/ . (default yes)
# followlinks Follow softlinks in srcdir. (default no)
# copy Use rsync to copy data before from 'srcdir' to 'targetdir'.
# (default no)
# copy-exclude Pattern rule to exclude files from copying.
# copy-special Special rsync command which will be appended as well.
# test After backing up the data perform a test. (default yes)
# tolerant While checking don't report anything if a file which is listed
# is missing. (default no)
#
# Tests:
# ------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment