{"id":299,"date":"2013-01-12T16:30:56","date_gmt":"2013-01-12T08:30:56","guid":{"rendered":"http:\/\/www.yallonking.com\/?p=299"},"modified":"2013-01-12T23:33:55","modified_gmt":"2013-01-12T15:33:55","slug":"%e5%a6%82%e4%bd%95%e5%b0%86linux%e6%95%b0%e6%8d%ae%e5%ba%93%e7%94%a8rman%e5%a4%87%e4%bb%bd%e5%88%b0%e8%bf%9c%e7%ab%afwin%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"http:\/\/www.yallonking.com\/?p=299","title":{"rendered":"\u5982\u4f55\u5c06linux\u6570\u636e\u5e93\u7528rman\u5907\u4efd\u5230\u8fdc\u7aefwin\u5e73\u53f0"},"content":{"rendered":"<p>\u5982\u4f55\u5c06linux\u6570\u636e\u5e93\u7528rman\u5907\u4efd\u5230\u8fdc\u7aefwin\u5e73\u53f0<br \/>\n\u5c06win\u4e0b\u7684\u5171\u4eab\u76ee\u5f55\u6302\u8f7d\u5230linux\u4e0b\u5373\u53ef<\/p>\n<p>#\u6302\u8f7dwindows\u5171\u4eab\u76ee\u5f55<br \/>\nmount -o rw,uid=oracle,gid=oinstall,username=yallonking,password='oraking' \/\/192.168.137.1\/back_dir \/tmp\/back_dir<\/p>\n<p>\u5982\u679c\u51fa\u73b0<br \/>\n[root@OELx64 ~]# mount -o rw,uid=oracle,gid=oinstall,username=yallonking,password='oraking' \/\/192.168.137.1\/back_dir \/tmp\/back_dir<br \/>\nmount error(12): Cannot allocate memory<br \/>\nRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)<\/p>\n<p>\u662f\u56e0\u4e3a\u6587\u4ef6\u8fc7\u5927\u5bfc\u81f4\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd<br \/>\n1\u3001\u5c06\u5907\u4efd\u811a\u672c\u4fee\u6539\uff0c\u62c6\u5206\u5907\u4efd\u6587\u4ef6<\/p>\n<p>\u53ef\u91c7\u53d6\u4ee5\u4e0b\u5907\u4efd\u811a\u672c<br \/>\nrun {<br \/>\nallocate channel c1 type disk maxpiecesize=512m;<br \/>\nallocate channel c2 type disk maxpiecesize=512m;<br \/>\nbackup as compressed backupset database format '\/tmp\/back_dir\/db_full_%U_%p_%T_%s.bak' tag 'dbl0';<br \/>\nbackup current controlfile format '\/tmp\/back_dir\/contorlfile_%T_%U_%s.ctlbak';<br \/>\nrelease channel c1;<br \/>\nrelease channel c2;<br \/>\n}<\/p>\n<p>2\u3001\u8bbe\u7f6ewin\u4e0b\u7684\u6ce8\u518c\u8868\u9879\uff08win7 \u7528samba\u6216\u8005cifs\uff09<\/p>\n<p>Set \u201cHKLMSYSTEMCurrentControlSetControlSession ManagerMemory ManagementLargeSystemCache\u201d to \u201c1\u2033.<br \/>\nSet \u201cHKLMSYSTEMCurrentControlSetServicesLanmanServerParametersSize\u201d to \u201c3\u2033.<br \/>\nRestart the \u201cserver\u201d service.<\/p>\n<p>#\u540c\u6b65\u6570\u636e<br \/>\n\/usr\/bin\/rsync -vzrltogp \/home\/ups_tmp\/* \/home\/ups_bak\/01_DB_BAK<br \/>\n#\u5220\u9664windows\u4e0a\u8fc7\u671f\u5907\u4efd\u6587\u4ef6<br \/>\nfind \/home\/ups_tmp -type f -mtime +31 -exec rm -f {} ;<br \/>\n#\u5220\u9664\u672c\u5730\u8fc7\u671f\u5907\u4efd\u6587\u4ef6<br \/>\nfind \/home\/ups_bak\/01_DB_BAK -type f -mtime +62 -exec rm -f {} ;<br \/>\n#\u5378\u8f7d\u5171\u4eab\u76ee\u5f55<br \/>\numount \/tmp\/back_dir<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u5c06linux\u6570\u636e\u5e93\u7528rman\u5907\u4efd\u5230\u8fdc\u7aefwin\u5e73\u53f0 \u5c06win\u4e0b\u7684\u5171\u4eab\u76ee\u5f55\u6302\u8f7d\u5230linux\u4e0b\u5373\u53ef #\u6302\u8f7dwin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[40,32],"tags":[],"_links":{"self":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/299"}],"collection":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=299"}],"version-history":[{"count":11,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/299\/revisions"}],"predecessor-version":[{"id":545,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=\/wp\/v2\/posts\/299\/revisions\/545"}],"wp:attachment":[{"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.yallonking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}