about how to implement the backup for a new module, perhaps this link will help you: http://moodle.org/mod/forum/discuss.php?d=6377
. I think the best recommendation (after reading that general guidelines) is to take a look to some simple module in Moodle (assignment could be a good candidate, with files support) to see the backuplib.php and restorelib.php files and understand what is happening there. Anyway, after work a bit yourself...if you have any question and I can help you, I'm here
about how to implement the configure option for a module, one config.html must exist under your mod/XXXX directory. This will make that, automatically, the Config link will appear under Administration/Modules. In that config.html file you should implement a form, with your needed fields. To be "compatible" with the rest of the modules you must be sure that *every* field in that form is named "XXXXX_YYYYY", where XXXX is the name of your module (one English descriptive word) and YYYY is the name of the variable that you want to store. The form will call module.php and automatically that script (no action required) will store all that field contents into the mdl_config table. Then you can access to that variables against the $CFG global object. Again, the best recommendation is to read and understand some existing config.php file and to see what's happening in mdl_config table when you use it.
Hope this helps...