remove old todos, create new todo list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
49ef5871bc
commit
e18c9fa94d
12 changed files with 4 additions and 243 deletions
|
@ -1,4 +0,0 @@
|
||||||
x Fix $? problem
|
|
||||||
x Check last dir searching
|
|
||||||
x Check count generation
|
|
||||||
x Check general functionality (remove testing)
|
|
|
@ -1,34 +0,0 @@
|
||||||
Done:
|
|
||||||
==> screenshot
|
|
||||||
u0219 zrha166.netstream.ch # ~chdscni9/ccollect.sh weekly zrha166.netstream.ch
|
|
||||||
2007-08-16-21:49:44: ccollect 0.6: Beginning backup using interval weekly
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:44: Beginning to backup
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Existing backups: 0 Total keeping backups: 8
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Did not find existing backups for interval weekly.
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Using backup from daily.
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Beginning to backup, this may take some time...
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Creating /etc/ccollect/sources/zrha166.netstream.ch/destination/weekly.20070816-2149.22188 ...
|
|
||||||
[zrha166.netstream.ch] 2007-08-16-21:49:45: Transferring files...
|
|
||||||
|
|
||||||
- beep-after-delete-hack?
|
|
||||||
-> tonnerre / #cLinux
|
|
||||||
|
|
||||||
- replace nico-linux-ccollect with nico-ccollect
|
|
||||||
* ccollect is not Linux specific
|
|
||||||
|
|
||||||
- remove exit-calls
|
|
||||||
* will leave behind unused temporary file!
|
|
||||||
* use _exit_err
|
|
||||||
|
|
||||||
X join todos
|
|
||||||
|
|
||||||
- fix possible quoting problems
|
|
||||||
* rsync_extra (redefine format)
|
|
||||||
* exclude
|
|
||||||
* other
|
|
||||||
* create _rsync, filtering args, creating new $@
|
|
||||||
|
|
||||||
- check and export variables for use in scripts!
|
|
||||||
|
|
||||||
Contact Julian later:
|
|
||||||
* integrate updated german documentation
|
|
|
@ -1,11 +0,0 @@
|
||||||
NetBSD/i386,amd64,sparc,sparc64
|
|
||||||
|
|
||||||
13:13 < Tonnerre> telmich, die kleine wä, 2 Variablen aus $(CCOLLECT) zu
|
|
||||||
machen
|
|
||||||
13:13 < Tonnerre> telmich, eine fü Sourcepfad und eine fü
|
|
||||||
Destinationfpad
|
|
||||||
13:13 < Tonnerre> pfa
|
|
||||||
13:13 < Tonnerre> d
|
|
||||||
13:14 < Tonnerre> telmich, die gröre wä die $() durch ${} zu ersetzen, so
|
|
||||||
dass der Kram auch mit !GNU-Make geht
|
|
||||||
|
|
63
doc/todo/0.6
63
doc/todo/0.6
|
@ -1,63 +0,0 @@
|
||||||
not did, did not remember why I wanted to do that:
|
|
||||||
|
|
||||||
- do sed-time check:
|
|
||||||
|
|
||||||
1.2. replace sed?
|
|
||||||
compare timing:
|
|
||||||
_echo () { echo "$name $msg" }
|
|
||||||
and create
|
|
||||||
_techo () { echo "$timestamp $name $msg" }
|
|
||||||
perhaps create
|
|
||||||
_eecho () { _techo "ERROR $msg" }
|
|
||||||
?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
done:
|
|
||||||
add note for
|
|
||||||
09:24 < telmich> Obri: ~/.ssh/config!
|
|
||||||
|
|
||||||
- implement use of different intervals as source for cloning
|
|
||||||
* use 'woechentlich' if available and no backup exists for 'daily'
|
|
||||||
* add 'prefer_latest' to prefer different interval, that's newer than
|
|
||||||
ours
|
|
||||||
* or add 'prefer_same_interval' instead?
|
|
||||||
- implement detection of partial backups
|
|
||||||
3. detect unfinished backups
|
|
||||||
sven / markierung
|
|
||||||
- wie seht der Marker aus?
|
|
||||||
-> .ccollect-YEAR-MM-DD.HHmm.pid (like the directory)
|
|
||||||
--> assume incomplete, when we did not finish.
|
|
||||||
--> means it's complete,when rsync was successful
|
|
||||||
---> partial implemented in 0.5.2 (commented out)
|
|
||||||
- do not check by name, but by time
|
|
||||||
* is ls -t posix?
|
|
||||||
* also check: -p -1
|
|
||||||
- ccollect Zeitausgabe verbessern
|
|
||||||
- Wofuer wie lange gebraucht
|
|
||||||
* rm
|
|
||||||
* klonen (gibt es so ja nicht)
|
|
||||||
Wenn Summary angegeben ist am Ende ausgeben
|
|
||||||
- do we want rsync -H by default?
|
|
||||||
* no: takes much more memory
|
|
||||||
ssh / port change:
|
|
||||||
change rsync_extra format
|
|
||||||
- Variables:
|
|
||||||
source_$n
|
|
||||||
no_sources
|
|
||||||
name
|
|
||||||
- changed naming of sources:
|
|
||||||
YYYYMMDD-HHMM.PID (better readable)
|
|
||||||
=> source / backup converter! => not needed!
|
|
||||||
config:
|
|
||||||
set destination-base
|
|
||||||
/etc/ccollect/defaults/source_config
|
|
||||||
|
|
||||||
Documentation:
|
|
||||||
- hint: backuping backup
|
|
||||||
- update documentation:
|
|
||||||
- german doc?
|
|
||||||
- exit pre/post exec -> error codes (after implementation!) (in 0.4)
|
|
||||||
- write about fast changing fs
|
|
||||||
- delete_incomplete
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
- Add filter support
|
|
||||||
* filter
|
|
||||||
- add source/ignore_failed_pre_exec
|
|
||||||
- add source/ignore_failed_post_exec
|
|
||||||
- do not delete_incomplete, when there's only one backup left!
|
|
||||||
- .ccollect-marker is deleted by rsync at the beginning!
|
|
||||||
- fix marking
|
|
||||||
- add logwrapper
|
|
||||||
- add loganalyser
|
|
||||||
speedup is
|
|
||||||
error codes
|
|
||||||
vanished files (see netstream)!!!
|
|
||||||
|
|
||||||
Done:
|
|
||||||
- Improve finding backup from another interval:
|
|
||||||
o strip of interval name
|
|
||||||
o run sort -n
|
|
||||||
o use the last entry
|
|
||||||
- add --version, -V
|
|
||||||
|
|
||||||
not needed:
|
|
||||||
- think about 'prefer_same_interval' / 'prefer_latest'
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
- fix delete_incomplete marker
|
|
|
@ -1,35 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
done:
|
|
||||||
- tools in makefile
|
|
||||||
14:15 <telmich> also alle tools/ccollect_*
|
|
||||||
14:15 <dev-zero> mach mal n besseres Makefile :)
|
|
||||||
14:15 <telmich> hatte die extra deswegen umbenannt
|
|
||||||
14:15 <telmich> nehme ich mal als hinweis für 0.7.1
|
|
||||||
|
|
||||||
|
|
||||||
- add global delete_incomplete (/etc/ccollect/defaults/delete_incomplete)
|
|
||||||
|
|
||||||
09:31 < Obri> telmich: hab nen kleinen tipp für ccollect
|
|
||||||
09:32 < Obri> telmich: ich habe hier hosts die nicht immer online sind, das ist dumm weil so das backup
|
|
||||||
kaputtgeht...
|
|
||||||
09:32 < Obri> telmich: ich habe jetzt das ein preexec script gebastelt:
|
|
||||||
09:32 < Obri> ping -c1 -q `cat /etc/ccollect/sources/$name/source | cut -d"@" -f2 | cut -d":" -f1`
|
|
||||||
09:33 < Obri> telmich: so bricht das backup ab wenn der host nicht erreichbar ist
|
|
||||||
09:33 < Obri> ohne dass ein altes backup entsorgt wird
|
|
||||||
|
|
||||||
|
|
||||||
- remove basename
|
|
||||||
-> include config from cconf! -> standard!
|
|
||||||
|
|
||||||
reject:
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
- fix german documentation!
|
|
||||||
=> I'm the coder, somebody else can fix it.
|
|
||||||
- add wrapper, to do logging and analyse
|
|
||||||
* output filename in the wrapper, save into variable
|
|
||||||
=> mktemp
|
|
||||||
* call analyser
|
|
||||||
=> output stdout?
|
|
||||||
=> no use for that currently
|
|
|
@ -1,63 +0,0 @@
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
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>
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
- add -a (archive) to ccollect_delete_source.text
|
|
||||||
- add listing of intervals to ccollect_list_intervals
|
|
|
@ -1 +0,0 @@
|
||||||
add support for wipe
|
|
|
@ -1,6 +0,0 @@
|
||||||
- restructure code to easily allow global versus source options:
|
|
||||||
f_name=....
|
|
||||||
check_option $f_name
|
|
||||||
=> source
|
|
||||||
=> defaults
|
|
||||||
- support all senseful options as default and source specific
|
|
|
@ -24,3 +24,7 @@ to have. This means I won't code them, so somebody can code them.
|
||||||
|
|
||||||
- add option ("run_only_once") to prevent ccollect to run twice
|
- add option ("run_only_once") to prevent ccollect to run twice
|
||||||
(per source/general)
|
(per source/general)
|
||||||
|
-> or create wrapper, that takes care of it
|
||||||
|
|
||||||
|
- add support for wipe
|
||||||
|
|
Loading…
Reference in a new issue