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:
server
is the URI of the Mulgara server to restore.local
orremote
specifies whether the backup file is read locally from the client or remotely from the server's filesystem, respectively. If not specified, the default isremote
.file
is 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.