2.5 Backup/Restore

The Administrative GUI provides backup/restore functionality (see The Administrative GUI).

Backups get stored in a sub-directory under <gdk_dbfarm>/<dbname>/backup/<name> (where <name> is the name of the backup). Inside each such directory, a new sub-directory is created for each XML collection in the database. Inside each collection sub-directory, various numbered directories are created, and inside these all XML documents are serialized using the fn:put() function (see The put() Function).

The <gdk_dbfarm>/<dbname>/backup/<name> directory contains all information to recreate the database, so you may archive/compress such a directory safely using standard file-based backup mechanisms.