@@includeTop@@ Mulgara | Semantic Store - backup @@includeMiddle@@

backup

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

backup server to [local|remote] file;

Where:

Node - In previous versions of Mulgara, the backup command was overloaded to backup an entire server as well as to export individual graphs. As of Mulgara 2.0, backup only supports backing up the entire server. Use the export command to export the contents of a single graph.

Note - While exports of individual models (using the export command) 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> to local <file:/tmp/serverbackup.gz>;

writes the server backup file locally on the client.

Use the restore command to restore server backups.

@@includeBottom@@