Automatically Backup MySQL database on linux server

前端 未结 7 670
無奈伤痛
無奈伤痛 2021-02-04 10:32

I need a script that automatically makes a backup of a MySql Database. I know there are a lot of posts and scripts out there on this topic already but here is where mine differs

7条回答
  •  既然无缘
    2021-02-04 11:05

    You might consider this Open Source tool, matiri, https://github.com/AAFC-MBB/matiri which is a concurrent mysql backup script with metadata in Sqlite3. Features (more than you were asking for...):

    • Multi-Server: Multiple MySQL servers are supported whether they are co-located on the same or separate physical servers.
    • Parallel: Each database on the server to be backed up is done separately, in parallel (concurrency settable: default: 3)
    • Compressed: Each database backup compressed
    • Checksummed: SHA256 of each compressed backup file stored and the archive of all files
    • Archived: All database backups tar'ed together into single file
    • Recorded: Backup information stored in Sqlite3 database

    Full disclosure: original matiri author.

提交回复
热议问题