You are here: Re: Best script to bacup mysql database? « PHP Programming Language « IT news, forums, messages
Re: Best script to bacup mysql database?

Posted by Tim Van Wassenhove on 08/01/05 01:54

On 2005-07-31, Raj Shekhar <rajlist@rajshekhar.net> wrote:
>
> If you have a second computer which you can connect to you database,
> consider setting up a slave database using replication.
> http://dev.mysql.com/books/hpmysql-excerpts/ch07.html has the details.
>
> or mysqldump --opt -u user --p "password" --all-databases | bzip2 -c
>> database.`date '+%d-%M-%Y'`.bz2 worked in the cron worked for me for
> a long time

mysqldump -u user -ppassword databasename | bzip2 -c | mail
backup@gmail.com -s "mysql backup of `date +%Y-%m-%d`"

--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация