自己導出Oracle數據庫流程
十月 29, 2010 by admin
Filed under: 未分類
Filed under: 未分類
Warning: Division by zero in /var/www/html/wwwroot/itrenzheng.hk/wp-content/themes/code-blue_20/functions.php on line 16
Warning: Division by zero in /var/www/html/wwwroot/itrenzheng.hk/wp-content/themes/code-blue_20/functions.php on line 16
Warning: Division by zero in /var/www/html/wwwroot/itrenzheng.hk/wp-content/themes/code-blue_20/functions.php on line 16
1. 通過數據庫連接工具導出所有表的信息,使用Emeditor進行替換,生成導出的sheel文件,例如:
(實驗證明tables後面有幾百張表是不行的,但是這裏可以導出整個實例可能更好壹點,但是看不到進度)
exp test/test@機器名 tables=XXX表名 file=/appa/xxx/log/tmp/XXX表名.dmp grants=y
exp test/test@機器名 tables=XXX表名 file=/appa/xxx/log/tmp/XXX表名.dmp grants=y
exp test/test@機器名 tables=XXX表名 file=/appa/xxx/log/tmp/XXX表名.dmp grants=y
2. 導出之後使用
nohup xxx.sh >>export.log
3. 壓縮
gzip -9 ./*.dmp
4. ftp 到本機
Comments
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wwwroot/itrenzheng.hk/wp-includes/class-wp-comment-query.php on line 399
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!