mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update backup config, prevents gateway timeouts for large databases using mysql
This commit is contained in:
parent
0eabbfdd07
commit
9cd4bd74a5
1 changed files with 9 additions and 2 deletions
|
@ -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'
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue