aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-07-08 19:21:46 +0000
committerElijah Saxon <elijah@riseup.net>2005-07-08 19:21:46 +0000
commit67b5cf70d7a48bf9333e448b0d1ca53aacc252ea (patch)
treeeacabdac106ffe6963df16a714935162b69ea2d2 /README
parent1d3e3482bef095acc4e3d2ebd058037b7710001b (diff)
downloadbackupninja-67b5cf70d7a48bf9333e448b0d1ca53aacc252ea.tar.gz
backupninja-67b5cf70d7a48bf9333e448b0d1ca53aacc252ea.tar.bz2
made it so that helpers are dynamically defined.
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 24 insertions, 0 deletions
diff --git a/README b/README
index 13c89bf..80e9f07 100644
--- a/README
+++ b/README
@@ -222,3 +222,27 @@ VSERVERINFO (default: /usr/sbin/vserver-info)
VSERVER (default: /usr/sbin/vserver)
VROOTDIR (default: `$VSERVERINFO info SYSINFO |grep vserver-Rootdir | awk '{print $2}'; fi`)
+NINJAHELPER
+===========
+
+Ninjahelper is an additional script which will walk you through the process of
+configuring backupninja. Ninjahelper has a menu driven curses based interface
+(using dialog).
+
+To add an additional 'wizard' to ninjahelper, follow these steps:
+
+(1) to add a helper for the handler "blue", create the file
+ blue.helper in the directory where the handlers live.
+ (ie /usr/share/backupninja).
+
+(2) next, you need to add your helper to the global HELPERS variable
+ and define the main function for your helper (the function name
+ is always <helper>_wizard). for example, blue.helper:
+ HELPERS="$HELPERS blue:description_of_this_helper
+ blue_wizard() {
+ ... do work here ...
+ }
+
+(3) check the examples of the included helpers to see how they are
+ written. The dialog functions are defined in easydialog.sh.
+