stardog-admin server backup Manual Page


stardog-admin server backup —Creates a backup of all databases in the given Stardog instance


stardog-admin [ --krb5 ] [ --krb5-disable-rdns ] [ --server <server url> ]server backup [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ --run-as <username> ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] [ <Backup location> ]


Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
-P, --ask-password
Prompt for password.
--run-as <username>
User to impersonate when running the command
--server <server url>
URL of Stardog Server. If this option isn't specified, it will be read from JVM argument 'stardog.default.cli.server'. If the JVM arg isn't set, the default value 'http://localhost:5820' is used. If server URL has no explicit port value, the default port value '5820' is used. Example: 'stardog-admin --server server stop'
-u <username>, --username <username>
User name.
-v, --verbose
Flag that can cause more detailed information to be printed such as errors and status. Exact output depends upon the command and options used.
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
<Backup location>
Provide a specific location to save the backup on the server side; overrides the default location.


Creates a backup of all databases in the given Stardog instance. By default, backups are stored in the '.backup' directory in your Stardog home, but you can use the 'backup.dir' property in your 'stardog.configuration' file to specify a different location for backups or you can override any default.


Create a backup of all databases in the default backup directory:

    $ stardog-admin server backup

Create a backup of all databases and save it in the given location

$stardog-admin server backup /path/to/backup/dir/on/server