64 lines
2.1 KiB
Groff
64 lines
2.1 KiB
Groff
|
--------------------------------------------------------------------------------
|
|||
|
Stats version
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
|
|||
|
Add tools/ccollect_stats.sh, clearify license
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
Preamble:
|
|||
|
Netstream (www.netstream.ch) may consider using ccollect for backing up many
|
|||
|
unix servers and needs some clean reporting. The following things
|
|||
|
need to be done, so ccollect will be useful for netstream:
|
|||
|
|
|||
|
Logger:
|
|||
|
- Needs to write small mails (sysadmins don't have time to read mails)
|
|||
|
- Needs to be able to only write a mail on error
|
|||
|
* needs configuration option to also mail on warnings
|
|||
|
- Should be able to send one mail per backup source
|
|||
|
* or one for the whole backup job
|
|||
|
|
|||
|
Messages: (to be used for filtering)
|
|||
|
Errors:
|
|||
|
Read from remote host .*: Connection timed out
|
|||
|
|
|||
|
Warnings:
|
|||
|
rsync: mknod .* failed: Invalid argument (22)
|
|||
|
file has vanished: ".*"
|
|||
|
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
|
|||
|
Analyzer:
|
|||
|
- grosse Dateien
|
|||
|
- grosse Veraenderungen
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
exclude-lists-doku:
|
|||
|
freebsd:
|
|||
|
/usr/ports/*
|
|||
|
/proc/*
|
|||
|
/dev/*
|
|||
|
/tmp/*
|
|||
|
/var/tmp/*
|
|||
|
linux:
|
|||
|
/sys/*
|
|||
|
/proc/*
|
|||
|
/dev/*
|
|||
|
/tmp/*
|
|||
|
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
done:
|
|||
|
|
|||
|
rsync_extra global!
|
|||
|
- \n delimeted
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
-S, --sparse
|
|||
|
Try to handle sparse files efficiently so they take up less space on the des‐
|
|||
|
tination. Conflicts with --inplace because it’s not possible to overwrite
|
|||
|
data in a sparse fashion.
|
|||
|
|
|||
|
--------------------------------------------------------------------------------
|
|||
|
Always report return code!
|
|||
|
|
|||
|
[12:00] u0255:ddba034.netstream.ch# rsync -n -a --delete --stats --progress daily.20080324-0313.17841/ daily.20080325-0313.31148/
|
|||
|
|
|||
|
$tool <name> <version1> <version2>
|
|||
|
|