Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
system
>
restore
system
http://exist-db.org/xquery/system
A module for retrieving information about eXist and the system.
restore
system:restore($dir-or-file as xs:string, $admin-pass as xs:string?, $new-admin-pass as xs:string?) node()
Restore the database or a section of the database (admin user only).
$dir-or-file
This is either a backup directory with the backup descriptor (__contents__.xml) or a backup ZIP file.
$admin-pass
The password for the admin user
$new-admin-pass
Set the admin password to this new password.
Returns the restore results
Return to list of all modules