com.kuka.nav.maintenance.backup
Class BackupDatabaseAction

java.lang.Object
  extended by com.kuka.nav.maintenance.backup.BackupDatabaseAction
All Implemented Interfaces:
com.kuka.nav.maintenance.action.MaintenanceAction

public class BackupDatabaseAction
extends Object
implements com.kuka.nav.maintenance.action.MaintenanceAction

Database backup action.


Constructor Summary
BackupDatabaseAction(String destinationFilePath, String... additionalDBnames)
          Constructor for BackupDatabaseAction.
 
Method Summary
 String[] getAdditionalDBnames()
           
 String getDestinationFilePath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupDatabaseAction

public BackupDatabaseAction(String destinationFilePath,
                            String... additionalDBnames)
Constructor for BackupDatabaseAction.

Parameters:
destinationFilePath -
 The destination of the ZIP file with absolute path.
 The filename will be indexed if there is already a file with the same name.
 e.g. c:/backups/myBackup.zip
      //10.10.10.123/backups/myBackup.zip
      \\\\10.10.10.123\\backups\\myBackup.zip
      c:\\backups\\myBackup.zip
 
additionalDBnames - Additional custom databases to be backed up.
Method Detail

getDestinationFilePath

public String getDestinationFilePath()
Returns:
The destination of the ZIP file.

getAdditionalDBnames

public String[] getAdditionalDBnames()
Returns:
Additional custom databases to be backed up.


Copyright © 2019. All rights reserved.