Is it possible to dynamically use the database name or date in the filename when running 'Dump with mysqldump`? Follow
Answered
I often use the 'Dump with mysqldump' command which lets you set the custom 'Out path'. We can use that to name the file whatever we'd like:
/Users/username/Desktop/whatever.sql
However, I often switch between database and often forget to update the last thing I used as the filename. Ideally, I could just set the export filename to a pattern so that I'd never need to worry about updating the setting again. For example:
/Users/username/Desktop/DATABASE_NAME-YYYY-MM-DD.sql
Is there any way to set a dynamic filename that includes the database name or date when exporting a database in DataGrip?
Please sign in to leave a comment.
There is a feature request https://youtrack.jetbrains.com/issue/DBE-6749 you can vote for and track progress.
Aha. Thanks. Upvoted.