Update backup config, prevents gateway timeouts for large databases using mysql

This commit is contained in:
Daniel Supernault 2021-01-22 17:53:06 -07:00
parent 0eabbfdd07
commit 9cd4bd74a5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -37,6 +37,13 @@ return [
'followLinks' => false, 'followLinks' => false,
], ],
'mysql' => [
'dump' => [
'useSingleTransaction' => true,
'useQuick' => true,
],
],
/* /*
* The names of the connections to the databases that should be backed up * The names of the connections to the databases that should be backed up
* MySQL, PostgreSQL, SQLite and Mongo databases are supported. * MySQL, PostgreSQL, SQLite and Mongo databases are supported.
@ -49,7 +56,7 @@ return [
/* /*
* The database dump can be gzipped to decrease diskspace usage. * The database dump can be gzipped to decrease diskspace usage.
*/ */
'gzip_database_dump' => false, 'gzip_database_dump' => true,
'destination' => [ 'destination' => [
@ -62,7 +69,7 @@ return [
* The disk names on which the backups will be stored. * The disk names on which the backups will be stored.
*/ */
'disks' => [ 'disks' => [
'local', 'local'
], ],
], ],
], ],