ModSnmp Manual v3.07 - 1.5. Saving and restoring the settings
ModSnmp's settings can be saved to a disk file by selecting the→ menu item. This displays a dialog that enables you to enter or select the name of the file to save the settings to. ModSnmp's settings are saved to the file in an XML format.
To restore the settings from a file, use the→ menu item. This displays a dialog that enables you to enter or select the name of the file to restore the settings from. If ModSnmp is "running" (i.e. the button is depressed), you will have to click the button before you can load the settings.
You can also load the settings from a file when you start ModSnmp, by passing the name of the file as a command-line argument, e.g.:
java -jar modsnmp3.07.jar config.xml
See Section 13.1, “Command line options” for more information.
There is, currently, no formal DTD (Document Type Definition) or XML schema for the format of the XML files in which the settings are saved. However, the format should be fairly evident to a human reader, and can easily be edited, if necessary, using a text editor.