Nuclos DB export import: maintenance dbexport, dbimport, snapshot, streaming, BLOB, CLOB, curl, 4.3, database-independent. |
Language: Deutsch · English
Back up and restore the entire Nuclos schema from the command line – streamed, database-independent, from 4.3.
Auf dieser Seite |
From Nuclos 4.3, the entire Nuclos schema can be exported and imported from the command line – no client needed, only the server must run. Ideal for snapshots of an instance including master and live data, independent of the database type.
The data is streamed – no size limit; BLOB/CLOB are no problem. Via a pipe, data can be transferred directly from one instance to another. |
curl --cookie cookies.txt "http://localhost:8080/nuclos-war/rest/maintenance/dbexport" > full.xml.gz |
curl --cookie cookies.txt "http://localhost:8080/nuclos-war/rest/maintenance/dbimport" --data-binary @full.xml.gz |
When switching between different Nuclos versions or databases, make a backup first. A complete switch of the database vendor is not possible, because Nuclos creates some vendor-specific DB objects that must be recreated manually. |