(pseudo) incremental backup with different exclude lists using hardlinks and rsync
Go to file
Darko Poljak 61ab45fc65 Fix excluding destination dir from removal
Touch can lead to wrong ls order, and destination dir gets selected for
removal.
Use grep -v to exclude, instead of touch.
2019-11-25 14:38:17 +01:00
conf remove to-remote test source 2011-01-15 02:25:24 +01:00
contrib Release 2.3 2018-02-02 07:57:41 +01:00
doc Release 2.7 2019-11-14 19:20:16 +01:00
test/conf Improve unit tests 2019-11-25 08:42:42 +01:00
tools add templates for remote backup replacement 2011-01-17 16:49:26 +01:00
.gitignore Add unit testing 2019-11-15 08:29:46 +01:00
.gitlab-ci.yml Define gitlab CI 2019-11-24 23:01:34 +01:00
COPYING Copy the correct COPYING file (replaced wrong LGPL3 with GPL3) 2009-08-03 12:22:39 +02:00
CREDITS add automatic backup manager CREDITS 2009-06-21 00:50:04 +02:00
Makefile Fix quoting in tests 2019-11-25 13:44:10 +01:00
README plural 2009-11-01 15:16:51 +01:00
TODO ++todo 2011-11-05 22:44:08 +01:00
ccollect Fix excluding destination dir from removal 2019-11-25 14:38:17 +01:00
release.sh update url of homepage 2009-07-01 10:00:18 +02:00

README

--------------------------------------------------------------------------------
ccollect.sh, Nico Schottelius, 2005-12-06
--------------------------------------------------------------------------------

ccollect backups (local or remote) data to local or remote destinations.

You can retrieve the latest version of ccollect at [0].

ccollect was inspired by rsnapshot [1], which has some problems:
   - configuration parameters have to be TAB seperated
   - you can not specify per source exclude lists
   - no per source pre/post execution support
   - no parallel execution
   - does unecessary moving of backup directories
   - I didn't like the configuration at all, so I used the cconfig style [2].

Please use tools/report_success.sh to report success, if you are successfully
using ccollect.

Have a look at doc/HACKING, if you plan to change ccollect.

A small try to visualize the differences in a table:

+---------------+-------------------------------------------------------------+
|     What?     |         rsnapshot            |         ccollect             |
+---------------+-------------------------------------------------------------+
| Configuration | tab separated, needs         |     plain cconfig-style      |
|               | parsing                      |                              |
+---------------+-------------------------------------------------------------+
| Per source    |                              |                              |
| post-/pre-    |            no                |            yes               |
| execution     |                              |                              |
+---------------+-------------------------------------------------------------+
| Per source    |                              |                              |
| exclude lists |            no                |            yes               |
+---------------+-------------------------------------------------------------+
| Parallel      |                              |                              |
| execution     |                              |                              |
| of multiple   |            no                |            yes               |
| backups       |                              |                              |
+---------------+-------------------------------------------------------------+
| Programming   |            perl              |            sh                |
| language      |                              |      (posix compatible)      |
+---------------+-------------------------------------------------------------+
| Lines of code |  6772 (5353 w/o comments,    |  546 (375 w/o comments,      |
| (2006-10-25)  |        4794 w/o empty lines) |       288 w/o empty lines)   |
+---------------+-------------------------------------------------------------+
| Lines of code |  7269 (6778 w/o comments,    |  587 (397 w/o comments,      |
| (2009-07-23)  |        6139 w/o empty lines) |       315 w/o empty lines)   |
+---------------+-------------------------------------------------------------+
|    Age        |  Available since 2002/2003   |    Written at 2005-11-14     |
+---------------+-------------------------------------------------------------+

Included documentation:

doc/ccollect.text          Manual in text format
doc/ccollect.html          Manual in xhtml (generated)

doc/man/ccollect.text      Manpage in text format
doc/man/ccollect.man       Manpage in manpage format (generated)

--------------------------------------------------------------------------------
[0]: ccollect:    http://www.nico.schottelius.org/software/ccollect/
[1]: rsnapshot:   http://www.rsnapshot.org/
[2]: cconfig:     http://nico.schotteli.us/papers/linux/cconfig/