Commit graph

738 commits

Author SHA1 Message Date
Nico Schottelius
f98853379e also move the interval check further to the beginning
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:28:33 +01:00
Nico Schottelius
ccf86defaf move pre_exec part to the top
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:26:57 +01:00
Nico Schottelius
49cb1f92ee join line
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:17:01 +01:00
Nico Schottelius
e9c02b8e2d plural
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:16:51 +01:00
Nico Schottelius
7de72e5e8d insert more faults into test setup and remove previous test
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:12:16 +01:00
Nico Schottelius
564ef0bd87 add testing with parallel execution
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:11:26 +01:00
Nico Schottelius
c2226f9134 BUGFIX: Use different destination directory based on the source number
If you have muliple sources, that go into the same destination
directory or specify a source mulitple times on the command line
and the backup is done within a minute, the destination directory
will still be the name:

   497    export destination_name="${INTERVAL}.$(${CDATE}).$$"

None of the values will change for the next backup. Thus the new
format since ccollect 0.8.1 is

   497    export destination_name="${INTERVAL}.$(${CDATE}).$$-${source_no}"

which contains the number of the current source.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:07:50 +01:00
Nico Schottelius
0f7891de8d rename $i to $current_source
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 15:03:37 +01:00
Nico Schottelius
a48fe6d41b +braces
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:37:32 +01:00
Nico Schottelius
d79c2b0a28 begin to create bigger automated tests
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:36:49 +01:00
Nico Schottelius
e508ef052f reorder operating systems in documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:25:06 +01:00
Nico Schottelius
8ae649c761 update release checklist
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:22:08 +01:00
Nico Schottelius
5d0a3c73d2 begin to cleanup the todo list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:20:24 +01:00
Nico Schottelius
e18c9fa94d remove old todos, create new todo list
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:18:28 +01:00
Nico Schottelius
49ef5871bc remove old braindumps
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:10:30 +01:00
Nico Schottelius
afe732a69f more changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:04:27 +01:00
Nico Schottelius
ec61905fc4 always call $@, which is now setup correctly
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:02:50 +01:00
Nico Schottelius
7e155f4219 prepare the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 14:00:54 +01:00
Nico Schottelius
8b01949f4b begin to claeunp the restorign document
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 13:44:43 +01:00
Nico Schottelius
6a8ff3f1d2 better quote TMP
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 13:37:02 +01:00
Nico Schottelius
e1ccba4f57 update documentation with all exported variables
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 13:36:50 +01:00
Nico Schottelius
7d1669827a and... even more changes.. this will be a great one
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:19:03 +01:00
Nico Schottelius
c314f284a2 export destination_* for usage in post_exec in documentate it
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:18:23 +01:00
Nico Schottelius
375f9ebafe add some more notes on post-configuring ccollect
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:10:09 +01:00
Nico Schottelius
cf62a0fada even more changes for the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:01:58 +01:00
Nico Schottelius
e6d89d57fc Fix Patricks patch: remove comments, remove if..then, add quotes for $@, do not add destination_full for post_exec
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 10:01:11 +01:00
Patrick Drolet
e4dea56e49 Begin to replace false verbose handling
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 09:52:33 +01:00
Nico Schottelius
59c8941373 cleanup destination setting :-)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 09:15:53 +01:00
Nico Schottelius
9e801582d5 use -d to prevent displaying the content of a directory
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 09:03:58 +01:00
Nico Schottelius
435f2140da cleanly set suffix
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 08:14:59 +01:00
Nico Schottelius
145c6de2fb double check quotes, remove grep
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 07:40:55 +01:00
Nico Schottelius
1b591a040c -p is not needed, when matching directories with */
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-31 07:31:23 +01:00
Nico Schottelius
2a6ab4c125 adjust ls for existing backups to new delete_from_file behaviour
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:49:17 +01:00
Nico Schottelius
39e8eb4c94 fix incomplete output message
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:45:03 +01:00
Nico Schottelius
9d65e1b1bf remove now obsolete code :-)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:43:21 +01:00
Nico Schottelius
ef4291c722 use delete_from_file with suffix
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:42:32 +01:00
Nico Schottelius
086af1497c need to unset $@ completly in delete_from_file()
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:42:13 +01:00
Nico Schottelius
8a70e30d97 cleanup delete_from_file(): clean suffix stuff
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:26:32 +01:00
Nico Schottelius
4865f3c8c6 extend delete_from_file() to allow removal of suffix files
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 19:25:23 +01:00
Patrick Drolet
3d92f30574 Add ccollect_mgr.sh, rdu and S60ccollect_example (initscript for ccollect)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 10:30:30 +01:00
Nico Schottelius
67aead1db2 more changes for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 10:19:44 +01:00
Patrick Drolet
4af94d9e71 traps more errors and warnings.
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-30 10:18:58 +01:00
Nico Schottelius
84c732bfc0 now put the dot back into CMARKER
Removed it some hundred commits before

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 20:15:14 +01:00
Nico Schottelius
ce6157efee begin to cleanup ugly awk line
Using ENVIRON[] instead of ugly quoting

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 20:13:50 +01:00
Nico Schottelius
08331387b7 +braces
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 20:05:50 +01:00
Nico Schottelius
262ceabca3 shorten some lines
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 19:53:26 +01:00
Nico Schottelius
3d571e915a add braces
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 19:50:04 +01:00
Nico Schottelius
1c8a0808a6 and more stuff for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 19:37:36 +01:00
Nico Schottelius
d7c4834dce move c_marker to the global section, it's not specfic to a source
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 19:34:13 +01:00
Nico Schottelius
e8a977720f one more bugfix for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-25 15:44:16 +01:00