Dump All MariaDB Databases

Dump every MariaDB database into one SQL file for a full backup.

Exports all databases to a single compressed file with a datestamp in the filename. Pipe through gzip to reduce file size by 80-90%. Suitable for full server backup scripts.

When you need this: For full server database backups run via cron, typically before maintenance windows.

Command


        
17 views 0 copies
Log in to rate
Log in to save

Free account. Save snippets into your own collections.