mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +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,
|
||||
],
|
||||
|
||||
'mysql' => [
|
||||
'dump' => [
|
||||
'useSingleTransaction' => true,
|
||||
'useQuick' => true,
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
* The names of the connections to the databases that should be backed up
|
||||
* MySQL, PostgreSQL, SQLite and Mongo databases are supported.
|
||||
|
@ -49,7 +56,7 @@ return [
|
|||
/*
|
||||
* The database dump can be gzipped to decrease diskspace usage.
|
||||
*/
|
||||
'gzip_database_dump' => false,
|
||||
'gzip_database_dump' => true,
|
||||
|
||||
'destination' => [
|
||||
|
||||
|
@ -62,7 +69,7 @@ return [
|
|||
* The disk names on which the backups will be stored.
|
||||
*/
|
||||
'disks' => [
|
||||
'local',
|
||||
'local'
|
||||
],
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue