[MDEV-13336] Add --ignore-database option to mysqldump Created: 2017-07-17  Updated: 2020-08-25  Resolved: 2018-04-16

Status: Closed
Project: MariaDB Server
Component/s: Backup, Scripts & Clients
Fix Version/s: 10.3.7

Type: Task Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 1
Labels: contribution, foundation


 Description   

mysqldump has a --ignore-table option to exclude individual tables from a dump, it does not have a similar --ignore-database option to ignore a specific database in an --all-databases dump though.

So if I'd only want to exclude a specific database, like e.g. the "sys" database, I'd have to list all databases but the one I'd want to exclude with "--databases db1 db2 ..." individually, and modify the list whenever a new database is created.

Having an "all databases but ..." feature would be a more comfortable and less error prone way to solve this.


Generated at Thu Feb 08 08:04:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.