Difference between revisions of "Backups"

From BaseX Documentation
Jump to navigation Jump to search
m
Line 2: Line 2:
 
==Requirements==
 
==Requirements==
  
* <a href="maven/org/basex/basex/6.3.1/basex-6.3.1.jar">basex.jar</a>: Main code  
+
* [http://www.basex.org/maven/org/basex/basex/6.3.1/basex-6.3.1.jar basex.jar]: Main code  
  
 
   
 
   
Line 13: Line 13:
 
# Go to <code>File/Manage...</code> and restore your database. The database will be restored with the latest backup belonging to the database.
 
# Go to <code>File/Manage...</code> and restore your database. The database will be restored with the latest backup belonging to the database.
 
[[Category:Usage]]
 
[[Category:Usage]]
[[Category:Wikify]]
 

Revision as of 10:52, 12 December 2010

This tutorial describes an example for creating a backup and restoring the database within BaseX.

Requirements


Example

  1. Start a BaseXGUI and create a new database in File/New... with your xml document.
  2. Go to File/Manage... and create a backup of your database. A backup of your database will be written to the database folder.
  3. Add a document: add as doc1 <doc1/>
  4. Add another document: add as doc2 <doc2/>
  5. Go to File/Manage... and restore your database. The database will be restored with the latest backup belonging to the database.