Previous Topic

Next Topic

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 or remote specifies whether the backup file is read locally from the client or remotely from the server's filesystem, respectively. If not specified, the default is remote.
  • 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.

See Also

iTQL Commands

alias

backup

comment (#)

commit

create

delete

drop

execute

help

insert

load

quit

rollback

select

set

Open Source logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.

© 2006 The Mulgara Project. Some rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".