Created
July 26, 2016 18:08
-
-
Save ableasdale/6bd5a606e389515713fb43323ad5a55e to your computer and use it in GitHub Desktop.
Get the backup status from all forests in a given database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "1.0-ml"; | |
declare namespace fs = "http://marklogic.com/xdmp/status/forest"; | |
xdmp:forest-status(xdmp:database-forests(xdmp:database("test")))/fs:last-backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment