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?
jraaltoAsked:
Who is Participating?
 
Hanno P.S.Connect With a Mentor 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.
0
 
PsiCopCommented:
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.
0
 
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.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
PsiCopCommented:
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"?
0
 
jraaltoAuthor Commented:
What is the best way to dump /?
0
 
yuzhCommented:
>>What is the best way to dump /?
 
    Use ufsdump & unsrestore for Solaris backup and restore.  here's an example for backup
to tape:
    http:Q_20273285.html
    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:
   http://sunfreeware.com/
 
 
0
 
ngopuCommented:
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:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

For cygwin:
http://www.cygwin.com


Best Regards,
Gopu N
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.