Previous Topic

Next Topic

backup

Directs a KowariTM server to write out a backup file that can later be restored. The general syntax is as follows:

backup server[#model] to [local|remote] file;

Where:

  • server is the URI of a complete Kowari server to back up.
  • #model is an individual model to back up (optional).
  • local or remote specifies that the backup file is written locally on the client or remotely on server's filesystem, respectively. If not specified, the default is remote.
  • file is the URI of the backup file.

Note - Backups of individual models are written in RDF format while servers are written in a modified compressed (gzip) N3 format. This is because groups of models cannot be represented in RDF.

For example:

backup <rmi://mysite.com/server1> to <file:/tmp/serverbackup.gz>;

and

backup <rmi://mysite.com/server1> to remote <file:/tmp/serverbackup.gz>;

are equivalent. Both commands write the server backup file remotely on the server's filesystem.

backup <rmi://mysite.com/server1#mymodel> to local <file:/tmp/modelbackup.rdf>;

writes the model backup file locally on the client.

Use the restore command to restore server backups and use the create and load commands to restore model backups.

For example:

create <rmi://mysite.com/server1#newmodel>;
load <file:/tmp/modelbackup.rdf> into <rmi://mysite.com/server1#newmodel>;

See Also

iTQL Commands

alias

comment (#)

commit

create

delete

drop

execute

help

insert

load

quit

restore

rollback

select

set

Latest News

Kowari 1.1.0 Pre-release 1 Released

Kowari 1.0.5 Released

Kowari 1.0.4.1 Released

Kowari 1.0.4 Released

DAWG Evaluates iTQL

Kowari article in XML.com

Kowari mentioned on XML.com

Kowari 1.0.3 Released

Kowari Lite Introduced

Kowari 1.0.2 Released

Kowari 1.0.1 Released

View all news items


Open Source logo Tucana Technologies Logo SourceForge.net Logo

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