HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copying file
Operating System - HP-UX
1836636
Members
1650
Online
110102
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-18-2008 10:34 PM
08-18-2008 10:34 PM
copying file
I have a server ( with hardware raid 5 ) that have some application and unix-like system are running in it , I would like to copy ( like diskcopy c:\ d:\ in windows ) all files including all O/S , files , application from this server to another host , can advise if I do not unplug the harddisk , how can I do such low level system copying ? thx
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 11:07 PM
08-18-2008 11:07 PM
Re: copying file
you mean you want to duplicate your system on an other one?
if hpux use ignite.
else it is not the right forum.
else with tar or cpio or scp.
something like
cd /; tar cf - . | ssh remotesystem "cd /backupdir ; tar xf - "
or
cd /; tar cf - . | gzip |rexec remotesystem "cd /backupdir ; gunzip |tar xf - "
or
or the same with cpio
cd / ; find . -prune | cpio -o | gzip | rexec remotesystem " cd /backupdir ; gunzip | cpio -idxm"
cpio copy also the device files while tar don't.
if hpux use ignite.
else it is not the right forum.
else with tar or cpio or scp.
something like
cd /; tar cf - . | ssh remotesystem "cd /backupdir ; tar xf - "
or
cd /; tar cf - . | gzip |rexec remotesystem "cd /backupdir ; gunzip |tar xf - "
or
or the same with cpio
cd / ; find . -prune | cpio -o | gzip | rexec remotesystem " cd /backupdir ; gunzip | cpio -idxm"
cpio copy also the device files while tar don't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 11:15 PM
08-18-2008 11:15 PM
Re: copying file
I think you have choosen wrong firm.
In Unix you can use
cp -pr source destination
Thanks
SKR
In Unix you can use
cp -pr source destination
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2008 11:18 PM
08-18-2008 11:18 PM
Re: copying file
Hi
Code: ( text )
1.scp -r path/to/folder/ user@targethost:/target/path
Bothlines are continue with space..
Regards,
Gokul Chandola
Code: ( text )
1.scp -r path/to/folder/ user@targethost:/target/path
Bothlines are continue with space..
Regards,
Gokul Chandola
There is always some scope for improvment.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP