Nico Schottelius
17fde8943d
Release today
2007-01-27 18:56:29 +01:00
Nico Schottelius
afbab56496
introduce _exit_err
2007-01-27 18:27:27 +01:00
Nico Schottelius
19d84f65da
Add _exit_err
2007-01-20 16:41:38 +01:00
Nico Schottelius
775a7e89a9
Remove testing
2007-01-20 16:22:36 +01:00
Nico Schottelius
cd21d9c072
Merge todos
...
Cleanup 0.5.2 for release
2007-01-19 20:07:34 +01:00
Nico Schottelius
d95861c81c
Add new todos
2007-01-19 20:01:53 +01:00
Nico Schottelius
7c53c28c5d
Remove experiemental
2007-01-17 19:32:21 +01:00
Nico Schottelius
07cb3473db
More comments
2007-01-17 19:18:42 +01:00
Nico Schottelius
44c80899fe
Cosmetic changase
2007-01-17 18:45:13 +01:00
Nico Schottelius
e917546ad1
introduce old backup matching
...
But this is definitly the WRONG way.
We cannot, we need not and we MUST NOT try to catch dumb users.
Instead we are the program, we may give the rules. And if we add a fancy
feature and the user is too dumb to use it, it is HER/HIS fault.
Just to remind my self:
Add use of other backup intervals as source for this interval
with the following behaviour:
- locate all possible intervals in
* default configuration
* source specific configuration
- locate all backups for each interval, record only the timestamp:
* taeglich.2007-01-23-0042
-> possible_old_sources += taeglich
-> taeglich_last=2007-01-23-0042
- NO READ NEED for this! other method:
* sort by time, ALL possible backup:
- does posix-ls support this? CHECK!
- ( cd $C_SOURCE/destination/;
ls --sort-by-time "$interval1".* "$interval2".* |
tail -n1 )
- catches all possible intervals
- add optional behaviour:
* prefer other interval (newer) over this one
2007-01-17 09:39:23 +01:00
Nico Schottelius
7e27ca0f3d
More quote changes
2006-11-15 00:01:19 +01:00
Nico Schottelius
9c2b38bd17
Fix possible problem due to not checked success of cd
2006-11-14 23:51:17 +01:00
Nico Schottelius
be9d93c997
Possible problem with spaces in interval names
...
23:36 < dev-zero> telmich: abs_destination_dir="$(cd $destination_dir && pwd -P)"
23:36 < dev-zero> telmich: wenn das interval spaces enthält, dann auch
destination_dir
2006-11-14 23:37:16 +01:00
Nico Schottelius
b9314edb78
Some count tests
2006-11-14 23:35:10 +01:00
Nico Schottelius
5c74195f20
More return value checking fixes
2006-10-31 08:18:58 +01:00
Nico Schottelius
b78a48917e
[bugfix] Wrong return value check
...
Found by Alexey Maximov
2006-10-31 07:58:54 +01:00
Nico Schottelius
50c75ccf43
Several minor changes
2006-10-31 07:58:00 +01:00
Nico Schottelius
bf4433ad63
Hint: source specific intervals
2006-10-26 10:30:14 +02:00
Nico Schottelius
735353bd05
Prepare marking of incomplete backups
2006-10-25 15:16:37 +02:00
Nico Schottelius
b31989c476
Whitespace cleanup
2006-10-25 14:48:48 +02:00
Nico Schottelius
952adc32f2
Instantly exit, when creating the destination fails
2006-10-25 08:10:21 +02:00
Nico Schottelius
c7e4bb72a1
Tell the user WHICH interval he/she/it specified for people mixing up
...
options and interval order
2006-10-24 00:35:55 +02:00
Nico Schottelius
141f9bd535
Display correct return code
2006-10-20 11:27:09 +02:00
Nico Schottelius
e759b04a92
Add Makefile for freebsd forts
2006-10-20 00:25:06 +02:00
Nico Schottelius
635f32af22
Version bumb
2006-10-19 14:49:41 +02:00
Nico Schottelius
a288efd671
Remove debugging
2006-10-17 00:38:00 +02:00
Nico Schottelius
3ba0900930
Change url
2006-10-15 21:56:55 +02:00
Nico Schottelius
d2369c1963
Remove bc
2006-10-15 21:01:28 +02:00
Nico Schottelius
342b5bf488
Fix newly introduced bug (absdir/destination)
...
add absolute directory for --link-dest, because rsync does chdir()
before beginnig backup
2006-10-15 17:12:39 +02:00
Nico Schottelius
e6614294c2
Add checking of result of ls
2006-10-15 16:50:12 +02:00
Nico Schottelius
1e1000f193
Fix some broken English.
...
Again, add pwd -P instead of pwd.
2006-10-15 16:48:51 +02:00
Nico Schottelius
05f246d586
Implement hardlinking in rsync
2006-10-15 16:37:07 +02:00
Nico Schottelius
0715932a44
Create directory with absolute path
2006-10-15 16:33:32 +02:00
Nico Schottelius
ec6bb69c75
More preparations for removal of pax
...
Use pwd -P to get real path
2006-10-15 16:31:16 +02:00
Nico Schottelius
2060baa71a
Preperations for a version without pax
2006-10-15 14:16:20 +02:00
Nico Schottelius
0e07585772
Allow overriding of rsync options
...
Moving $RSYNC_EXTRA to the end of options, so users can override
the default options.
This hint was brought to me by Marcus Wagner.
2006-09-05 21:41:12 +02:00
Nico Schottelius
c313ac8f49
Report return code of rsync on failure.
2006-06-25 10:44:02 +02:00
Nico Schottelius
df9cba0502
[bugfix] relative $CCOLLECT_CONF
...
When the path to the cconfig-dir is specified relative in $CCOLLECT_CONF,
ccollect will fail at the second backup run.
2006-06-17 00:12:38 +02:00
Nico Schottelius
466220823b
Update doc, preperation for 0.4.2
2006-06-16 23:24:07 +02:00
Nico Schottelius
7ab5ace250
.gitignore, Makefile, ccollect.sh, CHANGES
...
Added more generated dac to .gitignore
Added changing permissions on webserver
Fixed bug when user specifies "ccollect interval source/"
(If a user has a ":" in its path he should be shoot).
Added note to new documentation.
2006-06-13 12:44:32 +02:00
Nico Schottelius
1a233ebd85
Also moved general pre_exec to earlier execution, though not before
...
command line checking
2006-06-13 12:08:53 +02:00
Nico Schottelius
5ef6063fad
Pre_exec problem, resorting
...
Pre_exec has to be executed first, because it may create other
configuration options (including mounting the destination!)
(the problem was reported by Tonnerre Lombard).
Also added more beautiful comments.
2006-06-13 12:04:36 +02:00
Nico Schottelius
c75c6d27c3
Fix for whitespaces in output for wc from FreeBSE
2006-06-03 17:16:09 +02:00
Nico Schottelius
a58ba2e1cf
[NEW] Texinfo support, Docbook support
...
Some more documentation formats. Perhaps ccollect wants to become
a GNU package?
2006-05-12 15:41:49 +02:00
Nico Schottelius
26edc63c02
Different date format for internal use and external output
2006-04-29 23:46:29 +02:00
Nico Schottelius
34003efa29
Replaced different date types with one specification
2006-04-29 23:41:12 +02:00
Nico Schottelius
80e98e76bf
[cosmetic] Changed share to source
2006-04-29 12:58:57 +02:00
Nico Schottelius
d327a1bf64
Added more date information
2006-04-29 00:30:02 +02:00
Nico Schottelius
8064bebb60
Cosmetic fix and problem with pax destination_dir
...
destination_dir is ABSOLUTE and not relative!
2006-04-28 16:43:41 +02:00
Nico Schottelius
ef49d107f7
Replaced intervall with interval in ccollect.sh
2006-04-25 15:35:56 +02:00
Nico Schottelius
1c7f824c19
Removed whitespaces, added Changes
2006-04-25 15:28:54 +02:00
Nico Schottelius
3081199b56
Major changes
...
Added note to german documentation
Removed colon (:) in interval name
Updated CHANGES
Updated documentation (incompatibilities)
2006-04-25 15:19:53 +02:00
Nico Schottelius
5abd4678b0
pax hinzugefuegt, verbose ueberprueft, getestet
2006-04-25 14:26:13 +02:00
Nico Schottelius
63cbbb4abf
Added more return value checking.
2006-03-19 01:13:38 +01:00
Nico Schottelius
e95a2ea208
Replaced cp with pax
2006-03-19 01:10:58 +01:00
Nico Schottelius
98ad607421
Added termination, if pre_exec in source fails
2006-03-19 01:02:28 +01:00
Nico Schottelius
ba60e59a97
Added quotes for safety
2006-03-19 01:01:16 +01:00
Nico Schottelius
7951c72189
ccollect now exits, when the pre-executing program terminated anormally.
2006-03-19 00:59:42 +01:00
Nico Schottelius
acc5db288b
Version bump....
2006-02-24 10:08:26 +01:00
Nico Schottelius
472c86d6a2
Fix bug, when rsync exits non-zero
2006-02-24 09:41:44 +01:00
Nico Schottelius
27d1786af1
Added date
2006-02-07 21:22:39 +01:00
Nico Schottelius
740f14d426
Added more time information
2006-02-06 08:23:29 +01:00
Nico Schottelius
3b0d907196
Fixed problem with spaces in path of ccollect
2006-02-06 00:33:37 +01:00
Nico Schottelius
044df01c08
Corrected singular case
2006-02-06 00:25:30 +01:00
Nico Schottelius
699d3463ac
Changed broken English
2006-02-05 18:56:36 +01:00
Nico Schottelius
02df9c008e
Output text changed to be more true
2006-02-04 11:06:24 +01:00
Nico Schottelius
199d81b0ef
Added backup duration information (proposed by Daniel Aubry)
2006-01-25 23:37:52 +01:00
Nico Schottelius
d1f8c02294
More cosmetic and language changes
2006-01-24 22:58:39 +01:00
Nico Schottelius
bc51517bd8
Cosmetic changes
2006-01-24 22:36:28 +01:00
Nico Schottelius
083b5e4d06
Added support for summary
2006-01-24 21:46:49 +01:00
Nico Schottelius
97d9f2ff1a
Added full pre-/post exec implementation and configuration
2006-01-22 12:37:04 +01:00
Nico Schottelius
3e32b84731
Removed previously inserted debug
2006-01-22 12:22:49 +01:00
Nico Schottelius
dd453a964a
Added standard conform arithmetic $(()) instead of $[]
2006-01-22 12:21:35 +01:00
Nico Schottelius
b07299b760
Implemented general pre- and post-exec commands
2006-01-22 11:13:22 +01:00
Nico Schottelius
d6aa92523b
very_verbose now includes verbose
2006-01-22 10:46:58 +01:00
Nico Schottelius
f99404a04a
Implemented very_verbose and changed standard behaviour. Also added some
...
more documentation
2006-01-22 10:40:40 +01:00
Nico Schottelius
000547dc91
ccollect-0.2, beautified
2006-01-13 23:29:29 +01:00
Nico Schottelius
e4cc3b319c
Removed old echo functions and other old code, prepared 0.2 release
2006-01-13 23:10:23 +01:00
Nico Schottelius
0231c18401
Completed parallelization
2006-01-13 17:39:17 +01:00
Nico Schottelius
34c3d4455e
Parallel and logging works, now beautifying
2006-01-13 17:07:20 +01:00
Nico Schottelius
79a52ea55f
Parallel execution works, error checking due to using pipes and add_name
...
does not work correctly.
2006-01-13 16:37:22 +01:00
Nico Schottelius
9b36bff9a0
Added more correct, still broken parallel execution
2006-01-13 16:14:41 +01:00
Nico Schottelius
687e0b6a68
Some smaller configuration changes, some message clarifications
2006-01-13 13:33:26 +01:00
Nico Schottelius
f997286074
Some more preperations for parallel backuping
2006-01-13 12:33:43 +01:00
Nico Schottelius
bc076c7760
Add better quoting, add better output (still incosistent
2006-01-09 13:56:09 +01:00
Nico Schottelius
6d925823bc
Added partial parallel execution, added new error and standard message
...
printing
2006-01-09 13:24:27 +01:00
Nico Schottelius
8c9052888f
Updated docu, updated error message
2005-12-13 17:27:27 +01:00
Nico Schottelius
0d85c67357
Removed comment, added quoting
2005-12-13 14:41:40 +01:00
Nico Schottelius
a0f9cfd95e
Added verbosity
2005-12-08 16:14:46 +01:00
Nico Schottelius
f7446e8516
Tell the user that the backup is in progress...
2005-12-08 14:15:45 +01:00
Nico Schottelius
88eb652bae
Removed double paramater.
...
The $EXCLUDE variable was passed twice to rsync. This is not a real
problem, but it is not a clean way of programming. Removed it.
2005-12-08 14:00:04 +01:00
Nico Schottelius
142ec43f7c
Fixed bug whene there is no configuration directory
2005-12-08 12:18:44 +01:00
Nico Schottelius
fa5554bd82
Minor comment change
2005-12-08 11:31:29 +01:00
Nico Schottelius
421daf2f66
Fixed exclude list bug, now ccollect is working as expected
2005-12-08 11:28:16 +01:00
Nico Schottelius
d440c7b4d7
Added source specific verbose option
2005-12-08 11:08:15 +01:00
Nico Schottelius
921c28e07d
Tell the user if configuration of specified source does not exist
2005-12-08 10:57:36 +01:00
Nico Schottelius
2f4b97bf9c
Some things beautified, some eval exclamation marks added
2005-12-08 10:51:03 +01:00
Nico Schottelius
c36f1156c7
Lets do it
2005-12-08 10:30:05 +01:00
Nico Schottelius
951052cdca
Last version with rm, rsync and cp disabled. Next is going to hit sharp
2005-12-08 10:29:19 +01:00
Nico Schottelius
09b10f4776
Added 90% of functionality, added more configuration examples
2005-12-08 10:27:39 +01:00
Nico Schottelius
967556b693
small changes
2005-12-07 18:43:33 +01:00
Nico Schottelius
735b0e3c11
Added new requirement bc, added more beautiful output
2005-12-07 18:36:25 +01:00
Nico Schottelius
cc275b5c5c
Added excludes
2005-12-07 17:44:44 +01:00
Nico Schottelius
baba41f7a2
Simplied, made compatible to bsh (bourne shell)
2005-12-07 17:41:20 +01:00
Nico Schottelius
ea4afb014f
Requirements added
2005-12-06 17:08:38 +01:00
Nico Schottelius
2a331446a7
Updated docu, improved script readability
2005-12-06 16:36:28 +01:00
Nico Schottelius
186b5bda68
Added log description, using old tests now
2005-12-06 16:20:43 +01:00
Nico Schottelius
634f4169b8
Added the --all flag and a temp-file
2005-12-06 15:55:07 +01:00
Nico Schottelius
99f60dd1bb
Self-exploitable version
2005-12-06 15:35:29 +01:00
Nico Schottelius
3d957a1c86
Added first intervall description, added more fine configuration
2005-12-06 15:07:13 +01:00
Nico Schottelius
64a81656c3
Initial argv support
2005-12-06 13:45:37 +01:00
Nico Schottelius
9b06628bb5
minimal changes..or I forgot what to type
2005-12-06 12:50:36 +01:00
Nico Schottelius
31beabcc87
Adding sample configuration, more minimal functionality
2005-11-17 16:52:44 +01:00
Nico Schottelius
4ba9ce854d
Initial commit
2005-11-17 12:33:49 +01:00