Dear France, The argument of db:output will be cached before updates will be executed. Otherwise, out could be that the argument to be output does not exist anymore. Please see [1] for more information. Best, Christian [1] http://docs.basex.org/wiki/Database_Module#db:output Am 20.04.2017 23:40 schrieb "France Baril" <france.baril@architextus.com>: Hi, What am I doing wrong? It was my impression that db:ouput was not executed until the database updates were completed. However, when I execute: let $db-name := 'Inve' return ( db:create-backup($db-name), db:output(db:backups($db-name)) ) The list of backups returned doesn't include the backup just added by db:create-backup(). I just tried with 8.6.3 to make sure it wasn't an older issue. Thanks! -- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com