restore
Reads in a server backup file previously created using the backup command. The general syntax is as follows:
restore server from [local|remote] file;
Where:
serveris the URI of the Mulgara server to restore.localorremotespecifies whether the backup file is read locally from the client or remotely from the server's filesystem, respectively. If not specified, the default isremote.fileis the URI of the backup file.
For example:
restore <rmi://mysite.com/server1> from <file:/tmp/serverbackup.gz>;
and
restore <rmi://mysite.com/server1> from remote <file:/tmp/serverbackup.gz>;
are equivalent. They both restore the backup file remotely from the server's filesystem.
restore <rmi://mysite.com/server1> from local <file:/tmp/serverbackup.gz>;
restores the backup file locally from the client.
Note - To restore an individual model backup, use the create and load commands.