- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Best way to copy the whole system to another host
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2006 01:10 PM
07-21-2006 01:10 PM
Best way to copy the whole system to another host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2006 01:30 PM
07-21-2006 01:30 PM
Re: Best way to copy the whole system to another host
Now, since you have to ask I am going to suggest that perhaps you are not the best choice because what you are asking is a bit dangerous if you are unfamiliar with HP-UX and you could easily wind up with an impossible to patch (safely) system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2006 06:54 PM
07-21-2006 06:54 PM
Re: Best way to copy the whole system to another host
I agree with the previous (A.C.S) message, but I hope that you are enough careful in order not to destroy the target computer. I suggest, you don't intend to copy /usr, /opt and /var, but only /home
Technically what you want to do is not very complicated. For this purpose I use tar and permit remsh access, at least for period of copying.
On the source:
cd /home| tar cf - dirname1 dirname2 ...|
remsh target "cd /home; tar xf -"
If you copy homedirs, you will have to update /etc/passwd and /etc/group on the target machine accordingly.
If you want to copy databases, ensure that database server installation is copied normally, shut down databases and only after copy their files.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 11:38 AM
07-23-2006 11:38 AM
Re: Best way to copy the whole system to another host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 03:21 PM
07-23-2006 03:21 PM
Re: Best way to copy the whole system to another host
try to user rsync. just googling to download rsync software. example using rsync:
# rsync -arvuzP source_dir destination_dir
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 05:56 PM
07-23-2006 05:56 PM
Re: Best way to copy the whole system to another host
fbackup is indeed the best choice.
You can go filesystem by filesystem with:
rcp -rp /fs/ hostname:/fs
or
ssh -rp /fs/ hostname:/fs
rsync with ssh to preserve some level of security is probably the best choice after fbackup.
rsync example:
rsync -avH --stats --delete -e ssh /var/httpd/ $othernode:/var/httpd/
# this syncs a webserver httpd filesystem from one system to another (part of a cluster configuration).
No matter what, make sure all databases and applications are down when you do this.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com