当要换服务器的时候,怎么备份数据库?(oracle,mysql)

当要换服务器的时候,怎么备份数据库?(不用工具,oracle,mysql)

特别是多对一等关系怎么保留住?

谢谢大家了。。。

mysql的话,一直用
[code="linux"]mysqldump --opt --user=root --password database > backup-file.sql[/code]

oracle备份的资料

http://news.newhua.com/news1/program_database/2008/811/08811101735G9EA51C90105FBC981J6FDE8EF034DE452D8GAJ878G9.html

http://blog.ixpub.net/html/03/12684303-23972.html

http://tech.ccidnet.com/art/1107/20061019/926277_1.html

mysql备份的资料

http://www.7880.com/Info/Article-3f051e20.html

http://www.phpv.net/html/1519.html

http://www.qudong.com/soft/program/Mysql/mysqlgaoshou/20080512/11911.html

http://tech.ccidnet.com/art/1108/20070314/1036369_1.html

http://vod.sjtu.edu.cn/help/Article_Show.asp?ArticleID=1538

2楼提的其实也够用了,没什么特别的方法.

如果你新的服务器的mysql版本跟原来版本的mysql相同的话,你直接复制备份一下data文件夹也可以.