MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Alok K. Dhir Date:July 10 2002 3:43pm
Subject:RE: script - full backup of mysql databases
View as plain text  
Here's a trivial example.  Run something like this out of cron every
night.

--- cut
#!/bin/sh
DATE=`/bin/date +%Y-%m-%d`
mysqldump -u root -p [password] --all-databases --opt > \
	/path/to/large/partition/backup_${DATE}.sql
--- cut

> -----Original Message-----
> From: adi [mailto:adipublic@stripped] 
> Sent: Wednesday, July 10, 2002 5:34 AM
> To: mysql@stripped
> Subject: script - full backup of mysql databases
> 
> 
> There is a script for RH Linux for each day automatic full 
> backup of mysql databases? (the results may be like: 
> backup_yyyymmdd.sql, so it can be easily imported)
> 
> tx in adv for any help
> 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread114178@stripped>
> To unsubscribe, e-mail 
> <mysql-unsubscribe-alok=dhir.net@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

Thread
script - full backup of mysql databasesadi10 Jul
  • RE: script - full backup of mysql databasesAlok K. Dhir10 Jul