replayschema deprecated

PACKAGE: open-xchange-admin


replayschema - restores a dumped database schema.


replayschema [-h|--help]

replayschema -A masterAdminUser -P masterAdminPassword -m schemaName [-r rmiHosts] [--responsetimeout seconds]


This command line tool restores a database schema that was dumped with the dumpschema(1) command line tool.


-i, --in dumpFile : The dump file previously created with dumpschema(1). Mandatory.

-m, --source-schema schemaName : he source schema name (i.e. the schema that was dumped before). Mandatory.

-t, -target-cluster-id targetClusterId : The target database cluster identifier. Mandatory.

-r, --rmi-hosts rmiHosts : A list of RMI hosts e.g., If no port is given the default RMI port 1099 is used. Default: rmi://localhost:1099/

-A, --adminuser masterAdminUser : Master admin user name for authentication.

-P, --adminpass masterAdminPassword : Master admin password for authentication.

-h, --help : Prints a help text.

--environment : Show info about commandline environment.

--nonl : Remove all newlines (\n) from output.

--responsetimeout : The optional response timeout in seconds when reading data from server (default: 0s; infinite).


replayschema -A masteradmin -P secret -m foobar -i /tmp/database-dump.sql -t 12

Restores the database schema with the specified name from the specified dump.


disableschema(1), dumpschema(1), enableschema(1)