Backup /var/lib/mysql are good idea?
Hello. I have MySQL server, where in databases are many polish letters, and sometimes when we must move database, or repair it from backup polish letters lost.
So my question it's: backup MySQL by tar /var/lib/mysql are good idea? When i must rebuild databases i wont' lost polish letters? I know that when i load backup MySQL versions must be the same. Sorry for my english. |
Quote:
Making Backups with mysqldump or mysqlhotcopy is better idea. http://dev.mysql.com/doc/refman/5.1/...p-methods.html |
Thanks for reply. Last time i have to import mysql from backup (it do every day from command: mysqldump -h localhost -u root -ppass database --compatible=mysql40 | gzip > /database.sql.gz), but i don't have polish letters (instead polish letter was "?") - backup file already didn't have polish letters, so after import too.
So what i have to do, to create 100% good backup? |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 12:39 AM. |