Package de.bsvrz.puk.config.main
Class ConfigDataBackup
java.lang.Object
de.bsvrz.puk.config.main.ConfigDataBackup
- All Implemented Interfaces:
de.bsvrz.sys.funclib.application.StandardApplication
public class ConfigDataBackup
extends java.lang.Object
implements de.bsvrz.sys.funclib.application.StandardApplication
Kommandozeilenprogramm zum Durchführen von Backups der Konfigurationsdateien. Das Programm ist mit den üblichen -benutzer= und
-authentifizierung=-Parametern zu starten, zusätzlich kann mit -dir= ein Zielverzeichnis angegeben werden, in das die Dateien gesichert werden
sollen und mit -kv ein Konfigurationsverantwortlicher angegeben werden, dessen Konfigurationsbereiche gesichert werden sollen (sonst wird alles
gesichert). Das Zielverzeichnis sollte relativ angegeben werden und muss sich in dem Verzeichnis befinden, dass von der Konfiguration für
Sicherungen festgelegt wurde, bzw. das man beim Starten der Konfiguration mit dem Parameter -sicherungsVerzeichnis angeben kann. Wenn kein
Zielverzeichnis angegeben wird, wird anhand der aktuellen Zeit ein neues Verzeichnis angelegt.
-
Constructor Summary
Constructors Constructor Description ConfigDataBackup()
-
Method Summary
Modifier and Type Method Description void
initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
static void
main(java.lang.String[] args)
void
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ConfigDataBackup
public ConfigDataBackup()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) -
parseArguments
public void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) throws java.lang.Exception- Specified by:
parseArguments
in interfacede.bsvrz.sys.funclib.application.StandardApplication
- Throws:
java.lang.Exception
-
initialize
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection) throws java.lang.Exception- Specified by:
initialize
in interfacede.bsvrz.sys.funclib.application.StandardApplication
- Throws:
java.lang.Exception
-