What are the exit codes for `db verify`?

Created by Steve Place, Modified on Tue, Oct 31, 2023 at 10:33 AM by Steve Place

db verify always returns with an exit code of 0, regardless of whether or not the database is valid. If your workflow involves checking whether a database is valid or not, you can grep for the word "invalid" like so:

stardog-admin db verify myDb | grep invalid


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article