DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: copying logs

  1. #1
    Join Date
    Jan 2001
    Posts
    138
    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.

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    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
    Jeff Hunter

  3. #3
    Join Date
    Jan 2001
    Posts
    138

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width