1.setup trusted systembetween HP and sun
add hostname to .rhosts in the home directory ,then you can use rlogin without a password.
2.command for backup and restore
tar
tar cvf - $DIRNAME | rsh $SERVER dd of=$TAPEDEV
rsh$SERVERdd if=$TAPEDEV | tar xvf -
ufsdump/ufsrestore
ufsdump 0f server:/dev/rmt/#??? files_to_dump
cd to the restore directory;ufsrestore f server:/dev/rmt/#???