|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am presently working in a migration project from HP Unix to Sun Solaris. I need to place all the directory structures, shell scripts and users into Sun Solaris. By doing this task manually there is a possibility for discrepencies. So any tools are there to do these kind of tasks. Does mirroring concept will be helpful for this activity? Thanks in advance. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
I am neither a HP-Ux nor a Solaris expert, but: isn't this exactly what
tar was invented for? Is there any reason not to use "tar" (or "cpio", "pax", etc.)?
I hope this helps. bakunin |
| The Following User Says Thank You to bakunin For This Useful Post: | ||
nag_sathi (01-03-2013) | ||
| Sponsored Links | ||
|
|
#4
|
|||
|
|||
|
Hi Bakunin,Peasant
Thanks for the response. Apologize for not mentioning the query correctly. It's not moving. Actually I need to create the same directory structures in the new solaris server and place all the existing application scripts into the new server. Thanks |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Quote:
Code:
root@oldserver # cd /directory/to/replicate root@oldserver # tar -cvf /tmp/copy.tar . root@oldserver # scp /tmp/copy.tar root@newserver:/tmp/copy.tar root@oldserver # ssh root@newserver root@newserver # mkdir -p /new/dir root@newserver # cd /new/dir root@newserver # tar -xvf /tmp/copy.tar I hope this helps. bakunin |
| The Following User Says Thank You to bakunin For This Useful Post: | ||
nag_sathi (01-03-2013) | ||
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help for shell scripts for moving all files from one directory to another | soumyamishra | Shell Programming and Scripting | 31 | 02-22-2012 10:58 AM |
| Grepping file names, comparing them to a directory of files, and moving them into a new directory | sHockz | Shell Programming and Scripting | 1 | 02-02-2012 01:53 AM |
| MV files from one directory structure(multiple level) to other directory structure | srmadab | UNIX for Advanced & Expert Users | 4 | 09-13-2006 04:01 PM |
| Copying a Directory Structure to a new structure | jhansrod | UNIX for Dummies Questions & Answers | 8 | 07-27-2005 06:24 AM |
|
|