From the help of the stardog-admin db backup command:
Create a complete backup copy of a database. As opposed to export, which
is a logical copy and only provides a snapshot of the contents of the
database, a backup is a physical copy and preserves database metadata in
addition to the contents so an exact copy can be made during a restore.
To me the phrases
a complete backup copy
and
an exact copy can be made during a restore
implied that the database document storage directory (by default <dbname>/docs
) would also be backed up, so it was a little alarming to discover that it isn’t. It’d be great if it were, or at least the phrasing of the backup help updated to include the caveat that documents are not backed up.