This commit is contained in:
Elijah Saxon 2005-07-06 08:20:12 +00:00
parent e8cf41e99e
commit 06566455cf
2 changed files with 31 additions and 15 deletions

30
README
View File

@ -13,17 +13,24 @@ coordinate many different backup utilities.
Features:
- easy to read ini style configuration files.
- you can drop in scripts to handle new types of backups.
- backup actions can be scheduled
- you can choose when status report emails are mailed to you
(always, on warning, on error, never).
- console-based wizard (ninjahelper) makes it easy to create
backup action configuration files.
- passwords are never sent via the command line to helper programs.
- works with Linux-Vservers (http://linux-vserver.org/)
Backup types:
- secure, remote, incremental filesytem backup (via rdiff-backup).
incremental data is compressed. permissions are retained even
with an unpriviledged backup user.
- backup of mysql databases (via mysqlhotcopy and mysqldump).
- backup of ldap databases (via slapcat and ldapsearch).
- passwords are never sent via the command line to helper programs.
- you can drop in scripts to handle new types of backups.
- backup actions can be scheduled
- you can choose when status report emails are mailed to you
(always, on warning, on error, never).
- works with Linux-Vservers (http://linux-vserver.org/)
- basic system and hardware info
- encrypted remote backups (via duplicity).
- backup of subversion repositories.
The following options are available:
-h, --help This usage message
@ -31,10 +38,13 @@ The following options are available:
output to the current shell.
-f, --conffile FILE Use FILE for the main configuration instead
of /etc/backupninja.conf
-t, --test Run in test mode, no actions are actually taken.
-n, --now Perform actions now, instead of when they
might be scheduled.
--run FILE runs the specified action FILE (e.g. one of the /etc/backup.d/ files)
-t, --test Test run mode. This will test if the backup could run, without actually
preforming any backups. For example, it will attempt to authenticate
or test that ssh keys are set correctly.
-n, --now Perform actions now, instead of when they might be scheduled.
No output will be created unless also run with -d.
--run FILE Runs the specified action FILE (e.g. one of the /etc/backup.d/ files).
Also puts backupninja in debug mode.
CONFIGURATION FILES
===================

View File

@ -241,11 +241,17 @@ The following options are available:
output to the current shell.
-f, --conffile FILE Use FILE for the main configuration instead
of /etc/backupninja.conf
-t, --test Run in test mode, no actions are actually taken.
-n, --now Perform actions now, instead of when they
might be scheduled.
-t, --test Test run mode. This will test if the backup
could run, without actually preforming any
backups. For example, it will attempt to authenticate
or test that ssh keys are set correctly.
-n, --now Perform actions now, instead of when they might
be scheduled. No output will be created unless also
run with -d.
--run FILE Execute the specified action file and then exit.
When using colored output, there are:
Also puts backupninja in debug mode.
When in debug mode, output to the console will be colored:
EOF
debug=1
debug "Debugging info (when run with -d)"