README

---------------------------------------------------------------------------------
Compiling:
----------
To create and use simplebup, do the following:
1. At a bash-prompt:
$ make clean
$ make
2. Copy the executable to a directory where it will have write-access.
E.g.: /your-home-dir/bin
3. Run simplebup once to create config- and log-files in its directory.
4. Create backup directories where simplebup can write the backed-up files.
5. Edit simplebup.config to add directories and backup-paths, and exclusion
wildcards. (See 'simplebup.config' in the installation directory.)
6. Run simplebup in either the foreground or background. (See 'Usage' below)
---------------------------------------
---------------------------------------------------------------------------------
Usage:
------
You need to edit the config file to add directories and backup-paths, and exclusion
wildcards. Then either run simplebup from the command-line:
$ /-path-to-/simplebup
or, to start simplebup as a background process use:
$ nohup /-path-to-/simplebup >/dev/null 2>&1 &
or, if the installation directory is in your $PATH, you can simply use it's name:
$ simplebup
or:
$ nohup simplebup >/dev/null 2>&1 &
You can restart or stop the backgrounded instance by running simplebup in a
console with the following commandline arguments:
$ /-path-to-/simplebup command
Command Description
restart this will cause the background process to reload monitor settings
from it's configuration file and start any new monitors, or stop
removed ones.
stop this will cause the background process to stop all active monitors
and terminate.
---------------------------------------
---------------------------------------------------------------------------------
Configuration: (See 'simplebup.config' for full details.)
--------------
Setting directories to be monitored:
Format: monitor-path = backup-path
e.g.: /-path-to-some-/workdir = /-path-to-it's-/backupdir
Setting exclusion wildcards using, '*' and '?', for files NOT to be backed-up:
Format: monitor-path = [ comma-separated-wildcard-list ]
e.g.: /-path-to-some-/workdir = [ *~, temp.*]
---------------------------------------