rcp files from solaris 2.5 to windows

Posted on 2005-04-28
Last Modified: 2013-12-21
I want to rcp all of the files on the entire root of a sparc workstation to a windows station for backup purposes.  I have tried using the following command rcp sparcjr.root:/ c:\spark when I use this command the system tells me access is denied.  How do I copy all of the files off of the system?
Question by:jraalto
    LVL 34

    Expert Comment

    If you're doing this for backup purposes, then how would you propose to *restore* this "backup" in the event of a disaster? Making a backup is great - don't you think its a good idea, tho, to make a backup that you can actually use for recovery?

    If you're not willing to invest in a proper Solaris-oriented backup solution, then a better tack than just a blind dump of /, is to look at what makes the machine unique. The OS doesn't make it unique - you can reload the OS. Its configuration and the services it provides make it unique. Identify those things about it, and then identify what files/directories/partitions house those things, and center your "backup" around copy that information.

    Author Comment

    If we had to restore the system from backup we would re-load the OS then copy back the files necessary to restore the applications.  We are not entirely sure what files are used by the application so we cannot sigle out specific files to backup.
    LVL 34

    Expert Comment

    If you're not sure what files are used by the application, then how will you know what files are "necessary to restore the applications"?

    Author Comment

    What is the best way to dump /?
    LVL 38

    Expert Comment

    >>What is the best way to dump /?
        Use ufsdump & unsrestore for Solaris backup and restore.  here's an example for backup
    to tape:
        man ufsdump
        man ufsrestore

        To learn more details

        also, clone Solaris HD: http:Q_20782407.html

        PS: Solaris 5 is very old, consider to upgrade your OS to Solaris 9 / 10.

        Since the IDE HD is very cheap now, if you have a Linux box, or other Sun box with IDE
    port (eg, Ultra 5/10, Sun Blade 100, 1500 etc), you can add an HD to the box, and then mount the HD to your Solaris 5 box, and dump the data to the new HD

        The systax for dumping to a dir is:

        ufsdump 0f - / | (cd /mountdir ; ufsrestore rf -)

        Note: / is the filesystem name.

        Another good tool for backup date is rsync, you can get it from:
    LVL 16

    Accepted Solution

    Back to your original question:
    To use rcp you will need the corresponding server process ("daemon" in UNIX, so-called "service" in Windoze)
    If you don't have e rsh (rcp) server running on windoze you will not be able to do this

    I'd strongly suggest using ufsdump/ufsrestore for your system. You can write the dump (archive) onto
    a locally attached tape drive, a remote tape drive or a file (locally or remote) -- but you will need rsh
    server on the remote system.
    The easiest usually the local tape drive.
    LVL 4

    Expert Comment

    Hi ,

    You cannot use rcp command from solaris to windows... it will not work.

    You can use pscp.exe or cygwin's scp or rcp from windows to solaris to copy your file from solaris to windows.. that is the right way....

    For putty's pscp.exe:

    For cygwin:

    Best Regards,
    Gopu N

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now