Changes

Jump to navigation Jump to search
660 bytes added ,  11:52, 17 June 2022
no edit summary
==CREATE BACKUP==
{{Announce|Updated with Version 10:}} Support for commentsand general data (user, job, and store info).
{| width='100%'
|-
|width='130'|'''Syntax'''
|{{Code|CREATE BACKUP ([name] ([comment]))}}
|-
| '''XML Syntax'''   
|<code><create-backup (name='...' ) (comment='...')/></code><br/>
|-
| '''Permission'''
|-
| '''Summary'''
|Creates a zipped backup of the database specified by {{Code|name}} and , 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%'
|-
|width='130'|'''Syntax'''
|{{Code|DROP BACKUP ([name])}}
|-
| '''XML&nbsp;Syntax'''&nbsp;&nbsp;&nbsp;
|<code><drop-backup (name='...')/></code><br/>
|-
| '''Permission'''
|-
| '''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%'
|-
|width='130'|'''Syntax'''
|{{Code|RESTORE ([name])}}
|-
| '''XML&nbsp;Syntax'''&nbsp;&nbsp;&nbsp;
|<code><restore (name='...')/></code><br/>
|-
| '''Permission'''
|-
| '''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, jobs, and store info).
|-
| '''Errors'''
;Version 10
* Updated: {{Command|CREATE BACKUP}}, {{Command|DROP BACKUP}}, {{Command|RESTORE}}: Support for general data (user, job, and store info).
* Updated: {{Command|CREATE BACKUP}}: Support for comments.
* Updated: {{Command|OPEN}}: {{Code|path}} argument dropped.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu