stardog-admin db copy Manual Page
NAME
stardog-admin db copy —Copies an existing database.
SYNOPSIS
stardog-admin [ --krb5 ] [ --krb5-disable-rdns ] [ --server <server url> ]db copy {-c | --copy-to} <copy to> [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <source db>
OPTIONS
-c <copy to>, --copy-to <copy to>
Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
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 http://12.34.56.78:5820 server stop'
-u <username>, --username <username>
Verbose flag that causes more detailed information to be printed
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
DISCUSSION
Copies a database exactly as-is to a new database with the specified name. All current settings and contents are preserved in the copy. The database to be copied must be offline, and the copy of the database will initially be offline as well.
EXAMPLES
Copy the database 'foo' to the database 'bar':
$ stardog-admin db copy -c bar foo