Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Monitoring directories and automatic real-time backup of modified files
branch: master
Failed to load latest commit information.
Makefile simplebup v1.0.0
README fixed typo
domonitor.cpp simplebup v1.0.0
domonitor.h simplebup v1.0
globs.cpp simplebup v1.0.0
globs.h simplebup v1.0.0
main.cpp simplebup v1.0.0
simplebup.cpp simplebup v1.0
simplebup.h simplebup v1.0

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.*]
---------------------------------------
Something went wrong with that request. Please try again.