From bf4433ad63081051941bf8a1e08ce521d17af6a5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 26 Oct 2006 10:30:14 +0200 Subject: [PATCH] Hint: source specific intervals --- ccollect.sh | 3 ++- doc/ccollect.text | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ccollect.sh b/ccollect.sh index b798fe1..6cbca47 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -225,6 +225,7 @@ while [ "$i" -lt "$no_sources" ]; do c_vverbose="$backup/very_verbose" c_rsync_extra="$backup/rsync_options" c_summary="$backup/summary" + c_incomplete="$backup/incomplete_remove" c_pre_exec="$backup/pre_exec" @@ -405,7 +406,7 @@ while [ "$i" -lt "$no_sources" ]; do # # FIXME: add marking here - # touch c_marker + # touch $c_marker # # diff --git a/doc/ccollect.text b/doc/ccollect.text index d11814c..d1741e2 100644 --- a/doc/ccollect.text +++ b/doc/ccollect.text @@ -537,6 +537,22 @@ use a link to The only requirement is that it is executable. + +Using source specific interval definitions +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +When you are backing up multiple hosts via cron each night, it may be +a problem that host "big_server" may only have 4 daily backups, because +otherwise its backup device will be full. But for all other hosts +you want to keep 20 daily backups. In this case you would create +`/etc/ccollect/default/intervals/daily` containing "20" and +`/etc/ccollect/sources/big_server/intervals/daily` containing "4". + +Source specific intervals always overwrite the default values. +If you have to specify it individually for every host, because +of different requirements, you can even omit creating +`/etc/ccollect/default/intervals/daily`. + + F.A.Q. ------