Creating a database
Disk, S3, or File. It is passed as a function, for example Disk('disk_name', 'backup_name').
Engine Parameters
database_name_inside_backup— Name of the database inside the backup.backup_destination— Backup destination.
Usage example
Let’s make an example with aDisk backup destination. Let’s first setup backups disk in storage.xml:
test_database_backup backup, let’s create database Backup: