Changes

Jump to navigation Jump to search
32 bytes removed ,  12:57, 17 June 2022
=Backups=
 
{{Announce|Introduced with Version 10:}} General data ([[User Management|registered users]], [[Jobs Module#Services|scheduled services]] and [[Store Module|stored keys and values]]) can now be backed up as well.
==CREATE BACKUP==
{{Announce|Updated with Version 10:}} Support for comments and general data (user, job, and store info).
{| width='100%'
|-
| '''Summary'''
|Creates a zipped backup of the database specified by {{Code|name}}, with an optional {{Code|comment}}. If no name is supplied, general data will be backed up (user, jobs, and store info). The backup file will be suffixed with the current timestamp and stored in the database directory. The [[#Glob Syntax|Glob Syntax]] can be used to address more than one database.
|-
| '''Errors'''
==DROP BACKUP==
 
{{Announce|Updated with Version 10:}} Support for general data (user, job, and store info).
{| width='100%'
|-
| '''Summary'''
|Drops all backups of the database with the specified {{Code|name}}, or a specific backup file if the name ends with its timestamp. If no name is supplied, backups with general data are addressed (user, jobs, and store info). The [[#Glob Syntax|Glob Syntax]] can be used to address more than one database.
|-
| '''Examples'''
==RESTORE==
 
{{Announce|Updated with Version 10:}} Support for comments and general data (user, job, and store info).
{| width='100%'
|-
| '''Summary'''
|Restores a database with the specified {{Code|name}}. The name may include the timestamp of the backup file. If no name is supplied, general data will be restored (user. If general data is restored, jobs, and store info)it will only be available after BaseX has been restarted.
|-
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu