From 044df01c083644add2d7854b3322b03720b0916b Mon Sep 17 00:00:00 2001
From: Nico Schottelius
Date: Mon, 6 Feb 2006 00:25:30 +0100
Subject: [PATCH 001/641] Corrected singular case
---
ccollect.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ccollect.sh b/ccollect.sh
index d884594..e598372 100755
--- a/ccollect.sh
+++ b/ccollect.sh
@@ -311,7 +311,8 @@ while [ "$i" -lt "$no_shares" ]; do
# the created directories are named $INTERVALL.$DA
count=$(ls -d "$c_dest/${INTERVALL}."?* 2>/dev/null | wc -l)
- echo "Currently $count backup(s) exist, total keeping $c_intervall backup(s)."
+ echo -n "Currently $count backup(s) exist(s),"
+ echo " total keeping $c_intervall backup(s)."
if [ "$count" -ge "$c_intervall" ]; then
substract=$(echo $c_intervall - 1 | bc)
From 3b0d907196fdbbf1f7aec0130b029e7d83c79298 Mon Sep 17 00:00:00 2001
From: Nico Schottelius
Date: Mon, 6 Feb 2006 00:33:37 +0100
Subject: [PATCH 002/641] Fixed problem with spaces in path of ccollect
---
ccollect.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ccollect.sh b/ccollect.sh
index e598372..c711385 100755
--- a/ccollect.sh
+++ b/ccollect.sh
@@ -183,7 +183,7 @@ while [ "$i" -lt "$no_shares" ]; do
# start ourself, if we want parallel execution
#
if [ "$PARALLEL" ]; then
- $0 "$INTERVALL" "$name" &
+ "$0" "$INTERVALL" "$name" &
continue
fi
From decae37d8df0445089aac672140cd5f4d9c6c08e Mon Sep 17 00:00:00 2001
From: Nico Schottelius
Date: Mon, 6 Feb 2006 00:35:27 +0100
Subject: [PATCH 003/641] Fixed fatal documentation mistake (to where it should
be from)
---
doc/ccollect.text | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ccollect.text b/doc/ccollect.text
index 3814c73..b45f4aa 100644
--- a/doc/ccollect.text
+++ b/doc/ccollect.text
@@ -26,7 +26,7 @@ your farm of webservers *to* a backup host somewhere else. One of
your webservers gets compromised, then your backup server will be compromised,
too. Think of it the other way round: The backup server (now behind a
firewall using NAT and strong firewall rules) connects to the
-webservers and pulls the data to it. If someone gets access to the
+webservers and pulls the data *from* them. If someone gets access to the
webserver, the person will perhaps not even see your machine. If
he/she sees that there are connections from a host to the compromised
machine, he/she will not be able to login to the backup machine.
From 68c83cf50bfe45cb81be019caae45b53985939dd Mon Sep 17 00:00:00 2001
From: Nico Schottelius
Date: Mon, 6 Feb 2006 00:46:50 +0100
Subject: [PATCH 004/641] Some documentation polishment
---
doc/ccollect.html | 13 ++++++++-----
doc/ccollect.text | 40 +++++++++++++++++++++++++++-------------
2 files changed, 35 insertions(+), 18 deletions(-)
diff --git a/doc/ccollect.html b/doc/ccollect.html
index 102acfa..eea925d 100644
--- a/doc/ccollect.html
+++ b/doc/ccollect.html
@@ -287,8 +287,8 @@ your farm of webservers to a backup host somewhere else. One of
your webservers gets compromised, then your backup server will be compromised,
too. Think of it the other way round: The backup server (now behind a
firewall using NAT and strong firewall rules) connects to the
-webservers and pulls the data to it. If someone gets access to the
-webserver, the person will perhaps not even see your machine. If
+webservers and pulls the data from them. If someone gets access to one
+of the webservers, the person will perhaps not even see your machine. If
he/she sees that there are connections from a host to the compromised
machine, he/she will not be able to login to the backup machine.
All other backups are still secure.
@@ -392,7 +392,7 @@ This number defines how many versions of this intervall to keep.
/etc/ccollect/defaults/pre_exec (same with post_exec), ccollect
will start pre_exec before the whole backup process and
post_exec after backup of all sources is done.
-The following Example describes how to report free disk space in
+
The following example describes how to report free disk space in
human readable format before and after the whole backup process:
@@ -555,6 +555,9 @@ seperated.
[11:36] zaphodbeeblebrox:ccollect-0.2% ls -l conf/sources/testsource2/destination
lrwxrwxrwx 1 nico users 20 2005-11-17 16:44 conf/sources/testsource2/destination -> /home/nico/backupdir
+To speak truth, this is not fully correct. ccollect will also backup
+your data, if destination is a directory. But do you really want to have
+a backup below /etc?
4.3.7. Detailled description of "intervalls/"
When you create a subdirectory intervalls/ within your source configuration
directory, you can specify individiual intervalls for this specific source.
@@ -828,13 +831,13 @@ du (GNU coreutils) 5.93
1.5G hydrogenium/durcheinander.2006-01-25-23:18.31328
200M hydrogenium/durcheinander.2006-01-26-00:11.3332
-
In the second report the sizes include the space the inodes of
+
In the second report (without -l) the sizes include the space the inodes of
the hardlinks allocate.