|
| 1 | +db_tools: |
| 2 | + # Where to put generated backups. |
| 3 | + #storage: |
| 4 | + # Root directory of the backup storage manager. Default filename |
| 5 | + # strategy will always use this folder as root path. |
| 6 | + #root_dir: '%kernel.project_dir%/var/db_tools' |
| 7 | + |
| 8 | + # Filename strategies. You may specify one strategy for each doctrine |
| 9 | + # connection. Keys are doctrine connection names. Values are strategy |
| 10 | + # names, "default" (or null) or omitting the connection will use the |
| 11 | + # default implementation. |
| 12 | + # If you created and registered a custom one into the container as a |
| 13 | + # service, you may simply set the service identifier. If no service |
| 14 | + # exists, and your implementation does not require parameters, simply |
| 15 | + # set the class name. |
| 16 | + #filename_strategy: |
| 17 | + # Backup filename strategy. |
| 18 | + # "default" is an alias of "datetime" |
| 19 | + #default: default |
| 20 | + # "datetime" implementation is "%db_tools.storage.root_dir%/YYYY/MM/<connection-name>-<datestamp>.<ext>" |
| 21 | + #other_connection_strategy: datetime |
| 22 | + # Example of using a service name: |
| 23 | + #yet_another_connection: app.db_tools.filename.custom_strategy |
| 24 | + # Or a classe name: |
| 25 | + #another_one: App\DbTools\Storage\MyCustomStrategy |
| 26 | + |
| 27 | + # When old backups are considered obsolete |
| 28 | + # (Use relative date/time formats : https://www.php.net/manual/en/datetime.formats.relative.php) |
| 29 | + #backup_expiration_age: '6 months ago' # default '3 months ago' |
| 30 | + |
| 31 | + # Timeout for backups. |
| 32 | + # backup_timeout: 1200 # default 600 |
| 33 | + |
| 34 | + # Timeout for restores. |
| 35 | + # restore_timeout: 2400 # default 1800 |
| 36 | + |
| 37 | + # List here tables (per connection) you don't want in your backups |
| 38 | + #excluded_tables: |
| 39 | + #default: ['table1', 'table2'] |
| 40 | + |
| 41 | + # Specify here paths to binaries, only if the system can't find them by himself |
| 42 | + # platform are 'mysql', 'postgresql', 'sqlite' |
| 43 | + #backupper_binaries: |
| 44 | + #mariadb: '/usr/bin/mariadb-dump' # default 'mariadb-dump' |
| 45 | + #mysql: '/usr/bin/mysqldump' # default 'mysqldump' |
| 46 | + #postgresql: '/usr/bin/pg_dump' # default 'pg_dump' |
| 47 | + #sqlite: '/usr/bin/sqlite3' # default 'sqlite3' |
| 48 | + #restorer_binaries: |
| 49 | + #mariadb: '/usr/bin/mariadb' # default 'mariadb' |
| 50 | + #mysql: '/usr/bin/mysql' # default 'mysql' |
| 51 | + #postgresql: '/usr/bin/pg_restore' # default 'pg_restore' |
| 52 | + #sqlite: '/usr/bin/sqlite3' # default 'sqlite3' |
| 53 | + |
| 54 | + # Default options to pass to the binary when backing up or restoring |
| 55 | + # a database. Those options must be defined per connection. |
| 56 | + # If you do not define some default options, here or by using the |
| 57 | + # "--extra-options" option when invoking the command, the following |
| 58 | + # ones will be used according to the database vendor: |
| 59 | + # - When backing up: |
| 60 | + # - MariaDB: --no-tablespaces |
| 61 | + # - MySQL: --no-tablespaces |
| 62 | + # - PostgreSQL: -Z 5 --lock-wait-timeout=120 |
| 63 | + # - SQLite: -bail |
| 64 | + # - When restoring: |
| 65 | + # - MariaDB: None |
| 66 | + # - MySQL: None |
| 67 | + # - PostgreSQL: -j 2 --clean --if-exists --disable-triggers |
| 68 | + # - SQLite: None |
| 69 | + #backupper_options: |
| 70 | + #default: '' |
| 71 | + #another_connection: '' |
| 72 | + #restorer_options: |
| 73 | + #default: '' |
| 74 | + #another_connection: '' |
| 75 | + |
| 76 | + # Update this configuration if you want to look for anonymizers in a custom folder. |
| 77 | + # These are default paths that will always be registered even if you override |
| 78 | + # the setting and don't repeat them: |
| 79 | + #anonymizer_paths: |
| 80 | + #- '%kernel.project_dir%/vendor/makinacorpus/db-tools-bundle/src/Anonymizer' |
| 81 | + #- '%kernel.project_dir%/src/Anonymization/Anonymizer' |
| 82 | + |
| 83 | + # Anonymization configuration. |
| 84 | + anonymization: |
| 85 | + # If you want to configure anonymization with attributes on |
| 86 | + # Doctrine entities, you have nothing to add here: if doctrine/orm |
| 87 | + # is available the DbToolsBundle will automatically look for it. |
| 88 | + # |
| 89 | + # If you want to load configuration from a yaml: |
| 90 | + # 1/ If you want to configure anonymization only for the default |
| 91 | + # DBAL connection, declare it like this: |
| 92 | + yaml: '%kernel.project_dir%/config/anonymizations.yaml' |
| 93 | + # 2/ If you use multiple connections, declare each configuration like this: |
| 94 | + #yaml: |
| 95 | + #- connection_one: '%kernel.project_dir%/config/anonymizations/connection_one.yaml' |
| 96 | + #- connection_two: '%kernel.project_dir%/config/anonymizations/connection_two.yaml' |
0 commit comments