Der Abschnitt beschreibt Vorgehensweisen zur Sicherung und Wiederherstellung der Daten mit Applikationsmitteln.
Ein weiterer Schritt zur Sicherung der daten ist das komplette Auslesen des Datenbestandes und die Speicherung auf einem externen (ggf. Netzwerk-) Filesystem. Mit dieser Methode lassen sich auch Migrationen durchführen. Die MyCoRe Kommandozeile hält dafür einige Kommandos bereit, welche die Daten in definierte Verzeichnisse ablegen. Ggf. können die Kommandos auch in Scripte eingebaut werden und über cron-Jobs zyklisch gestartet werden. Neben den eigentlichen Daten können auch Benutzerinformationen und Klassifikationen gesichert werden.
export object {0} to directory {1} with stylesheet {2}
export object {0} to directory {1} with transformer {2}
export all objects of type {0} to directory {1} with stylesheet {2}
export objects from {0} to {1} to directory {2} with stylesheet {3}
export objects from {0} to {1} to directory {2} with transformer {3}
export all objects of base {0} to directory {1} with stylesheet {2}
export derivate {0} to directory {1} with stylesheet {2}
export derivates from {0} to {1} to directory {2} with stylesheet {3}
export all derivates of project {0} to directory {1} with stylesheet {2}
export all derivates to directory {0} with stylesheet {1}
export classification {0} to directory {1} with stylesheet {2}
export all classifications to directory {0} with stylesheet {1}
export user {0} to file {1}
export all users to directory {0}
export all permissions to file {0}
Die mittels der Export-Kommandos gesicherten Daten können im Bedarfsfall wieder in ein ggf. neu erstelltes System über die MyCoRe Kommandozeile eingespielt werden. Dabei sollte die nachfolgende Reihenfolge eingehalten werden.
load object from file {0}
load all objects from directory {0}
load all objects in topological order from directory {0}
update object from file {0}
update all objects from directory {0}
update all objects in topological order from directory {0}
load derivate from file {0}
load all derivates from directory {0}
load classification from file {0}
load all classifications from directory {0}
update classification from file {0}
update all classifications from directory {0}
import user from file {0}
import all users from directory {0}
load permissions data from file {0}
update permission {0} for id {1} with rulefile {2} described by {3}
update permission {0} for id {1} with rulefile {2}