We need to copy archivelogs from our production server to a different box. If we use ftp to do it, do we do it in ascii mode?
Also can we use cp command in unix to copy from one server to another? for example how do I write a command to copy from server1 & directory a to server 2 & directory b? Lets say I am on server 1 & directory a where the logs are, how do I cp a file to server 2 & directory b? Thanks.
If you use ftp, ftp in BINARY mode.
Otherwise, you could use rcp
rcp /u01/oradata/mysid/redo01.log server2:/u01/oradata/mysid/redo01.log
re: copying logs
If I user rcp and I want to copy lots of files in one shot how do I do that?
Would this work?
rcp /u01/oradata/mysid/*.log server2:/u01/oradata/mysid/*.log
Click Here to Expand Forum to Full Width