Commit graph

724 commits

Author SHA1 Message Date
Nico Schottelius
4675bf864c rewrite get incomplete backups code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:35:49 +01:00
Nico Schottelius
05de81e0f0 simplify backup counting code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:31:46 +01:00
Nico Schottelius
51db5e1204 begin makefile cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:31:29 +01:00
Nico Schottelius
8c376a31f5 remove to-remote test source
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:25:24 +01:00
Nico Schottelius
c7d35464ae remove redundant destination variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:24:21 +01:00
Nico Schottelius
758e5a9059 begin to remove remote_host option
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:20:10 +01:00
Nico Schottelius
410cf58067 update version info
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:17:48 +01:00
Nico Schottelius
a949a9e8e7 remove all other pcmd calls
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:17:00 +01:00
Nico Schottelius
5066f417a9 remove pcmd from backup listing code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:11:28 +01:00
Nico Schottelius
093de8b0a1 simplify backup count code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:09:27 +01:00
Nico Schottelius
0d5b2992c0 Remove first pcmd use and make cd ddir default for further actions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:06:20 +01:00
Nico Schottelius
d2cd0c48f3 begin to remove support for backing up to remote hosts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:04:31 +01:00
Nico Schottelius
e39e53d0fb simply check for incomplete backups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 02:04:10 +01:00
Nico Schottelius
9cb8b99353 simply check for incomplete backups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 01:54:55 +01:00
Nico Schottelius
c10b46111b more changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 01:40:30 +01:00
Nico Schottelius
540d860e28 Do not use --archive on source check
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-15 01:39:00 +01:00
Nico Schottelius
cbf34deade also remove gnu-du-backup-size-compare from docs
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-12 09:15:46 +01:00
Nico Schottelius
073b1138b7 move gnu-du-backup-size-compare to old/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-01-12 09:14:58 +01:00
Nico Schottelius
9819c718b1 begin rename from .sh to ""
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-05-27 17:37:20 +02:00
Nico Schottelius
64824cb3b1 more changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-05-27 17:22:29 +02:00
Nico Schottelius
ac7c703ff0 add autofs hint
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-05-27 17:20:11 +02:00
Nico Schottelius
b13ed10eaf add start script from thorsten
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-05-27 17:11:32 +02:00
Nico Schottelius
43bba003b2 more cleanups
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-04-09 21:06:24 +02:00
Nico Schottelius
a8c34581ea cleanup 2010-04-09 21:05:40 +02:00
Nico Schottelius
fdb68e1ade add long path for documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-04-08 22:00:45 +02:00
Nico Schottelius
63686c3598 more changes for the next release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-03-26 09:37:25 +01:00
Nico Schottelius
72034cb042 add hints on pre_exec error handling
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2010-03-26 09:36:22 +01:00
Nico Schottelius
e47fb78603 import new ccollect_mgr version from patrick
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-12-23 18:43:40 +01:00
Nico Schottelius
86992b9787 begin to update rpm spec file
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-02 07:49:57 +01:00
Nico Schottelius
ca9106054b update version in the documentation
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-02 07:46:39 +01:00
Nico Schottelius
44442a09c9 todo for the version after the next version
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-02 07:45:51 +01:00
Nico Schottelius
23c395bcbd remove some old stuff from the makefile
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:27:23 +01:00
Nico Schottelius
9c47412991 integrate pdf support for documents soon
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:21:21 +01:00
Nico Schottelius
0b8e6409cf more changes for the upcoming release
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:18:36 +01:00
Nico Schottelius
f630bef3b5 Finally simplify the time calculations!
According to

   http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html

a shell must be able to do modulus (=remainder). Zsh, bash and dash
confirm this and thus I can save another line and get rid of a very
ugly one.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:15:00 +01:00
Nico Schottelius
545158b56f cleanup for messages and remove unecessary message
message=Beginning to backup, this may take some time...

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-01 16:14:29 +01:00
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