<?xml version="1.0" encoding="ISO-8859-1"?>
<RESTORE_CONF>
<!--


        We can take a backup of all the tables present in the database
at any given point of time and the database will continue to get updated subsequently. Suppose you
want to restore the data present at the date and time of request for backup, you can do so using
this conf file i.e. TablesToRestore.conf. You can restore the data for a few tables or
restore the data of all the tables according to your requirements. This can be done using the
following tag - the RESTORE tag.

        The syntax is

        <RESTORE
                TABLES= "LISTED"
                TABLE_NAMES="ManagedObject,
                             TrapEventParser">

        </RESTORE>
       The TABLES attribute can have any one of the two values,
(ie) LISTED or ALL. The TABLE_NAMES attribute can contain the name of the tables from which the
data present at the  date and time of request for backup, has to be restored. The table names
should be separated by comma(,). If the TABLES attribute is given the value LISTED, then the
data from the tables listed alone will be restored. On the other hand, if the value ALL is given,
the TABLE_NAMES will just be ignored and the data of all the tables will be restored. There is no
restriction on the number of RESTORE tags and hence you can add any number of such tags.

For Example,

      <RESTORE
           TABLES="LISTED"
           TABLE_NAMES="ManagedObject,
                        TrapEventParser">
      </RESTORE>

      <RESTORE
           TABLES="LISTED"
           TABLE_NAMES="Node,
                        TopoObject">
      </RESTORE>

        In the above example, upon executing the RestoreBackUp.sh/bat script, the four tables listed in the two RESTORE tags namely, ManagedObject, TrapEventParser, Node and TopoObject will be restored. Please note that, even if any one of the RESTORE tags contains the value for TABLES as TABLES="ALL", then the data of all the tables will be restored no matter if some of the tags contain the value LISTED. In this case, the value for the TABLES in other RESTORE tags are just ignored. In short, if you want to restore data only from a few tables, then you may choose the value LISTED. If you want to restore the data from all the tables, then you can go in for the value ALL.


       The following syntax shows yet another feature named DYNAMIC_TABLES
which refers to the tables that are created while the NMS is running and a few other tables such as
STATSDATAXX_XX_XXXX and STRINGDATAXX_XX_XXXX. If you want the data from the Dynamic tables be restored,
then you will have to specify the value for the attribute DYNAMIC_TABLES as "true".


       It may be noted that, if you choose the value for TABLES as ALL in any
of the RESTORE tags, then the data from Dynamic tables will also be restored. In case, you need
only the data from a few tables AND the data from Dynamic tables, then you may use the
combination of values 'LISTED' for 'TABLES' and 'true' for DYNAMIC_TABLES. In this case, you would be able to restore the data from the tables listed by you and the data from the dynamic tables.

       On the other hand, if you want to restore only the data from some tables
excepting DYNAMIC_TABLES, then simply ignore this attribute. The default value for
ths attribute is set as false. Here again, please note that, if the value for TABLES in any of
the RESTORE tag is chosen as ALL, then the data from all the tables, including dynamic tables are
restored.


-->
<RESTORE TABLES="ALL"/>
</RESTORE_CONF>
