[23:67] nohost:~% touch conf/sources/testsource1/very_verbose
diff --git a/doc/ccollect.html b/doc/ccollect.html index 87cea26..615cf37 100644 --- a/doc/ccollect.html +++ b/doc/ccollect.html @@ -262,8 +262,8 @@ div.exampleblock-content {
+summary create a transfer summary when rsync finished +
+exclude exclude list for rsync. newline (\n) seperated list.
[23:67] nohost:~% touch conf/sources/testsource1/very_verbose
If you create the file summary below the source definition, +ccollect will present you with a nice summary at the end.
+backup:~# touch /etc/ccollect/sources/root/summary +backup:~# ccollect.sh werktags root +==> ccollect.sh: Beginning backup using intervall werktags <== +[root] Beginning to backup this source ... +[root] Currently 3 backup(s) exist, total keeping 50 backup(s). +[root] Beginning to backup, this may take some time... +[root] Hard linking... +[root] Transferring files... +[root] +[root] Number of files: 84183 +[root] Number of files transferred: 32 +[root] Total file size: 26234080536 bytes +[root] Total transferred file size: 9988252 bytes +[root] Literal data: 9988252 bytes +[root] Matched data: 0 bytes +[root] File list size: 3016771 +[root] File list generation time: 1.786 seconds +[root] File list transfer time: 0.000 seconds +[root] Total bytes sent: 13009119 +[root] Total bytes received: 2152 +[root] +[root] sent 13009119 bytes received 2152 bytes 2891393.56 bytes/sec +[root] total size is 26234080536 speedup is 2016.26 +[root] Successfully finished backup. +==> Finished ccollect.sh <==+
You could also combine it with verbose or very_verbose, but they +already print some statistics (but not all / the same as presented by +summary).
+exclude specifies a list of paths to exclude. The entries are new line (\n) seperated.
Example:
@@ -504,7 +543,7 @@ seperated. etwas mit leerzeichenli something with spaces is not a problemdestination must be a link to the destination directory.
Example:
[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
When you create a subdirectory intervalls/ within your source configuration directory, you can specify individiual intervalls for this specific source. Each file below this directory describes an intervall.
@@ -527,7 +566,7 @@ Each file below this directory describes an intervall. 5 20 -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 can pass additional options to rsync. For instance you can tell rsync @@ -539,7 +578,7 @@ to use for automatic backup over the rsync-protocol.
[23:42] hydrogenium:ccollect-0.2% cat conf/sources/test_rsync/rsync_options --password-file=/home/user/backup/protected_password_file-
When you create pre_exec and / or post_exec below your source configuration, ccollect will execute this command before, respective after doing the backup for this specific source. @@ -748,8 +787,8 @@ srwali01:/etc/ccollect/sources# du -sh /mnt/hdbackup/wl6/*