Backup Job Specification
Backup job, what is it?
A backup job is a task that the application performs. This task does the following:
- Backup creation
- Backup compression
- Sending backup to storage
- Searching and deleting obsolete backups
The information needed to complete these steps is described in a special JSON file that must be passed as a parameter to the
--job-settings argument of the
Connection settings for a database that should be backed up.
Compression settings such as compression ratio and compression algorithm.
The list of storage locations to which the backup will be sent. Multiple storage locations can be used. In addition to the connection settings, a time period for storing backups can be set.
The order of operations in a backup job.
backup_all_compress_sendbackup all databases -> compress all backups -> send to storage
backup_one_compress_sendbackup one database -> compress the backup -> send the backup to storage -> repeat
The name of the backup job. Displayed in the log.
Path to a temporary directory. If this path is not specified, the paths specified in the
sqlbak-cli-path.jsonfile in the application’s installation directory are used.
See examples section