CartMetrix - Do you know yours?

« Google Unit Conversions | Home | Mod_Auth_MySQL and ErrorDocument with Apache »

8/4/2006

Quick and Dirty MySQL Backup

This is great for a quick backup of all databases before performing maintenance or check/repair.

mysqldump –all-databases -p | gzip > db_dump-YYYYMMDD.gz

Replace YYYYMMDD with Year, Month and Day.

Related Link: payday loans cash advance needs

Popularity: 19%

Trackback:

Related Posts

2 Responses to “Quick and Dirty MySQL Backup”

  1. Jay Allen said:

    “Replace YYYYMMDD with Year, Month and Day.”

    No need!

    mysqldump –all-databases -p | gzip > db_dump-`date %Y%m%d`.gz

  2. Quick and Dirty MySQL Backup Script - damonparker.org said:

    […] previously posted a Quick and Dirty MySQL Backup snippet. It works well in a pinch, but it doesn’t have any features. I use it primarily as a […]

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It