Link to home
Start Free TrialLog in
Avatar of jraalto
jraalto

asked on

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?
Avatar of PsiCop
PsiCop
Flag of United States of America image

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.
Avatar of jraalto
jraalto

ASKER

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"?
Avatar of jraalto

ASKER

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:
    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/
 
 
ASKER CERTIFIED SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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