mysqldump with db in a separate file

前端 未结 8 1670
生来不讨喜
生来不讨喜 2020-12-02 15:02

I\'m writing a single line command that backups all databases into their respective names instead using of dumping all in one sql.

Eg: db1 get saved to db1.sql and

8条回答
  •  萌比男神i
    2020-12-02 15:20

    While looking for available packages for the AutoMySQLBackup project suggested by @Jeshurun I came accross Holland.

    Intrigued by the name (I live in Belgium to the South of The Netherlands, sometimes - or better some parts - referred to as "Holland"), I decided to check it out. Perhaps it can help you as well.

提交回复
热议问题