• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

rcp files from solaris 2.5 to windows

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?
1 Solution
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.
jraaltoAuthor Commented:
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.
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"?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

jraaltoAuthor Commented:
What is the best way to dump /?
>>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:
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
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.
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now