forked from ungleich-public/ccollect
Changed Makefile for bettor automatic installation, added more things todo
This commit is contained in:
parent
97d9f2ff1a
commit
a64d7b12b5
3 changed files with 27 additions and 12 deletions
11
Makefile
11
Makefile
|
@ -19,13 +19,20 @@ host=creme.schottelius.org
|
|||
dir=www/org/schottelius/linux/ccollect
|
||||
docdir=$(dir)/doc
|
||||
|
||||
#
|
||||
# End user targets
|
||||
#
|
||||
all:
|
||||
@echo "Nothing to make, make install."
|
||||
|
||||
install:
|
||||
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
||||
install: install-script install-link
|
||||
|
||||
install-link: install-script
|
||||
$(LN) $(destination) $(path_destination)
|
||||
|
||||
install-script:
|
||||
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
|
||||
|
||||
documentation:
|
||||
@echo "Generating HTML-documentation"
|
||||
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
|
||||
|
|
12
doc/TODO
12
doc/TODO
|
@ -1,6 +1,11 @@
|
|||
- write mkccollectconfig
|
||||
o create source configuration
|
||||
o another script for changing defaults
|
||||
x intervalls
|
||||
x pre-/post exec
|
||||
o dialog based?
|
||||
|
||||
- implement pre- and post-exec commands
|
||||
o For the general backup process
|
||||
o source specific
|
||||
o what to do with return values?
|
||||
|
||||
- Documentation
|
||||
|
@ -21,3 +26,6 @@ DONE
|
|||
- write a simple manual
|
||||
- Hints section
|
||||
- add note to --exclude=/proc/ vs. --exclude=/proc/*
|
||||
- implement pre- and post-exec commands
|
||||
o For the general backup process
|
||||
o source specific
|
||||
|
|
|
@ -122,15 +122,15 @@ The name you choose for the subdirectory describes the source.
|
|||
|
||||
Each source has at least the following files:
|
||||
|
||||
- `source` (a text file containing the rsync compatible path to backup)
|
||||
- `source` (a text file containing the `rsync` compatible path to backup)
|
||||
- `destination` (a link to the directory we should backup to)
|
||||
|
||||
Additionally a source may have the following files:
|
||||
|
||||
- `verbose` whether to be verbose (passes -v to rsync)
|
||||
- `very_verbose` be very verbose (-v also for mkdir, cp, rm)
|
||||
- `exclude` exclude list for rsync. '\\n' seperated list.
|
||||
- `rsync_options' extra options to pass to rsync
|
||||
- `verbose` whether to be verbose (passes -v to `rsync`)
|
||||
- `very_verbose` be very verbose (-v also for `mkdir`, `cp`, `rm`)
|
||||
- `exclude` exclude list for `rsync`. '\\n' seperated list.
|
||||
- `rsync_options' extra options to pass to `rsync`
|
||||
|
||||
Example:
|
||||
--------------------------------------------------------------------------------
|
||||
|
@ -155,11 +155,11 @@ Example:
|
|||
|
||||
Detailled description of "source"
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
`source` describes a rsync compatible source (one line only).
|
||||
`source` describes a `rsync` compatible source (one line only).
|
||||
|
||||
For instance 'backup_user@foreign_host:/home/server/video'.
|
||||
To use the rsync protocol without the ssh-tunnel, use
|
||||
'rsync::USER@HOST/SRC'. For more information have a look at rsync(1).
|
||||
To use the `rsync` protocol without the `ssh`-tunnel, use
|
||||
'rsync::USER@HOST/SRC'. For more information have a look at `rsync`(1).
|
||||
|
||||
Detailled description of "verbose"
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in a new issue