diff --git a/doc/TODO b/doc/TODO index 4a500fe..b4f9a39 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,15 +1,18 @@ -- write a manpage -- add note to --exclude=/proc/ vs. --exclude=/proc/* -- rsync_options, example paswd -- rsync_options \n seperated +- Documentation + - write/generate a manpage + - rsync_options \n seperated DONE - implement verbosity o per source (-v to rsync) o general, very verbose (set -x) -- write a simple manual - implement parallel execution - implement general log - implement source specific log (canceled) - the name prefix is currently somehow inconsistent +- Documentation + - rsync_options, example paswd + - write a simple manual + - Hints section + - add note to --exclude=/proc/ vs. --exclude=/proc/* diff --git a/doc/ccollect.html b/doc/ccollect.html index caa5ac2..95106c1 100644 --- a/doc/ccollect.html +++ b/doc/ccollect.html @@ -301,7 +301,7 @@ All other backups are still secure.
- for more comfort: 'make - for rebuilding the generated documentation: additionally asciidocbc @@ -473,10 +473,11 @@ Each file below this directory describes an intervall.
20When you create the file "rsync_options" below your source configuration, +
When you create the file rsync_options below your source configuration, all the parameters found in this file will be passed to rsync. This -way you may specify a rsync-passwordfile for automatic backup over -the rsync-protocoll.
+way you can pass additional options to rsync. For instance you can tell rsync +to show progress ("—progress") or which -password-file ("—password-file") +to use for automatic backup over the rsync-protocol.Example:
When you have a computer with little computing power, it may be useful to use +rsync without ssh, directly using the rsync protocol +(specify user@host::share in source). You may wish to use +rsync_options to specify a password file to use for automatic backup.
+Example:
+backup:~# cat /etc/ccollect/sources/sample.backup.host.org/source +backup@webserver::backup-share + +backup:~# cat /etc/ccollect/sources/sample.backup.host.org/rsync_options +--password-file=/etc/ccollect/sources/sample.backup.host.org/rsync_password + +backup:~# cat /etc/ccollect/sources/sample.backup.host.org/rsync_password +this_is_the_rsync_password+
This hint was reported by Daniel Aubry.
+When you exclude "/proc" or "/mnt" from your backup, you may run into +trouble when you restore your backup. When you use "/proc/*" or "/mnt/*" +instead ccollect will backup empty directories.
+
+ Note
+ |
+
+ When those directories contain hidden files +(those beginning with a dot (".")), +they will still be transferred! + |
+
This hint was reported by Marcus Wagner.
+srwali01:~# mkdir /etc/ccollect @@ -541,7 +580,7 @@ srwali01:/etc/ccollect/sources/srwali03# echo 'root@10.103.2.3:/' > source srwali01:/etc/ccollect/sources/srwali03# ln -s /mnt/hdbackup/srwali03 destination srwali01:/etc/ccollect/sources/srwali03# mkdir /mnt/hdbackup/srwali03
[10:53] srsyg01:sources% du -sh ~/backupdir @@ -564,7 +603,7 @@ srwali01:/etc/ccollect/sources# du -sh /mnt/hdbackup/wl6/*