forked from ungleich-public/ccollect
(pseudo) incremental backup with different exclude lists using hardlinks and rsync
b3ad86f270
Bug description: From: Tiziano Müller <dev-zero@g.o> Subject: Notiz: Probleme mit Ampersand in source Date: Tue, 07 Oct 2008 16:11:10 +0000 Hoi Nico Kleine Notiz wie im IRC besprochen: - Hat es in /etc/ccollect/sources/$BACKUPNAME/source ein Ampersand muss dieses Escaped werden, da sonst folgender Fehler auftritt: *snip* [volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Beginning to backup, this may take some time... [volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Creating /home/backup/volumes/Forschung&Entwicklung/daily.20081005-0310.15173 ... [volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Transferring files... [volumes_ForschungEntwicklung] bash: Entwicklung/*: No such file or directory [volumes_ForschungEntwicklung] rsync: connection unexpectedly closed (4 bytes received so far) [receiver] [volumes_ForschungEntwicklung] rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.2] [volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Finished backup (rsync return code: 12). [volumes_ForschungEntwicklung] 2008-10-05-03:10:03: Warning: rsync exited non-zero, the backup may be broken (see rsync errors). *snip* - ein "&" im Namen fürs Backup, also: /etc/ccollect/sources/volumes_Forschung&Entwicklung/ wird beim Anzeigen (wie oben zu sehen) verschluckt. Cheers, Tiziano Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org> |
||
---|---|---|
conf | ||
doc | ||
test | ||
tools | ||
.gitignore | ||
ccollect.sh | ||
COPYING | ||
CREDITS | ||
Makefile | ||
README | ||
release.sh |
-------------------------------------------------------------------------------- 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 has 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. 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) | +---------------+-------------------------------------------------------------+ | 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/ccollect-DE.text German manual in text format (externally maintained) doc/ccollect-DE.html German manual in xhtml (generated) doc/man/ccollect.text Manpage in text format doc/man/ccollect.man Manpage in manpage format (generated) -------------------------------------------------------------------------------- [0]: ccollect: http://unix.schottelius.org/ccollect/ [1]: rsnapshot: http://www.rsnapshot.org/ [2]: cconfig: http://nico.schotteli.us/papers/linux/cconfig/