Skip to content

Commit

Permalink
Add instructions on how to customize the content of database dumps.
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenscheel committed Jul 4, 2018
1 parent ad85988 commit 075c48c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/backup.php
Expand Up @@ -40,6 +40,21 @@
/*
* The names of the connections to the databases that should be backed up
* MySQL, PostgreSQL, SQLite and Mongo databases are supported.
*
* The content of the database dump may be customized for each connection
* by adding a 'dump' key to the connection settings in config/database.php.
* E.g.
* 'mysql' => [
* ...
* 'dump' => [
* 'excludeTables' => [
* 'table_to_exclude_from_backup',
* 'another_table_to_exclude'
* ]
* ]
* ],
*
* For a complete list of available customization options, see https://github.com/spatie/db-dumper
*/
'databases' => [
'mysql',
Expand Down

0 comments on commit 075c48c

Please sign in to comment.