mulgara - semantic store

skip navigation

SHOW SITE NAV
fixed
fluid
straight

backup

Directs a Mulgara 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:

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>;

Valid XHTML 1.0 TransitionalValid CSS 3.0!