psdi.configure

Class DropBackup

  • All Implemented Interfaces:
    UpgConstants


    public class DropBackup
    extends CommonShell
    implements UpgConstants
    Drop Backup Tables utility. This is used after we configured the database and restored data from the backup tables. If we already copied data from backup tables to base tables using the RestoreFromBackup program, and did not use the param to drop the backup tables at that time, then this program will drop the backup tables as a separate step.

    This program is called by RestoreFromBackup when the -r parameter is used.

    This runs independently of MXServer. However, it is not injurious to run this program while MXServer is in use.

    The commandline parameters for DropBackup are as follows, in addition to those in the superclass CommonShell.

    Parameter IDParameter ValueDescription
    -g(none)This is optional. It indicates that this class has been instanciated by the Upgrade.
    -tTable names delimited by commasThis is optional. If this parameter is used, then the names of the Maximo tables whose temp tables should be dropped will appear after this parameter, delimited by commas. For example: -tITEM,TOOL,WORKORDER
    If not specified, then all temp tables that are eligible to be dropped will be dropped.
    See Also:
    CommonShell, ConfigDB, RestoreFromBackup
    • Constructor Detail

      • DropBackup

        public DropBackup()
        This constructor does nothing. Used when running from the DOS prompt.
      • DropBackup

        public DropBackup(MXServer server)
        This constructor accepts parameter for MXServer and sets value for mxs. Used when invoked from the Config application.