- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio to remote tapedrive
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
06-22-2001 12:59 AM
06-22-2001 12:59 AM
with tar I know how to redirect ( tar cvf - /|remsh hostname 'dd of= ... bs=10k', but does something similar exist for cpio ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:17 AM
06-22-2001 01:17 AM
Re: cpio to remote tapedrive
Hi
I think this is the easyest way.
Go to a machine where Dat drive is connected physically. Before that export ur file system which U want to backup. Then mount it on the machine which is having dat drive. Then take backup from there.
Procedure
Suppose ur data is in HP1 and dat drive is in HP2. Suppose U want to take backup of usr.
From HP1
#exportfs -i /usr -root=HP2
From HP2
#mkdir /mybackup
#mount HP1:/usr /mybackup
#cd /mybackup
#find . -depth -print | cpio -xm /dev/rmt/0mn
I hope this will be helpfull to U.
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:22 AM
06-22-2001 01:22 AM
Re: cpio to remote tapedrive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:27 AM
06-22-2001 01:27 AM
SolutionA command like (on machine without tape drive):
find . -depth -xdev | cpio -ovxcB 2>/tmp/err.cpio |remsh hostwithtapedrive -l user "cat - | dd of=/dev/rmt/0m obs=5k"
User must access hostwittape without passwd
(add it on .rhost of this host).
Reply to this kind of questions are one this
forum ... make a search for more informations.
HTH
Herve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 01:42 AM
06-22-2001 01:42 AM
Re: cpio to remote tapedrive
as stated, it should work the same with cpio as like tar.
I just like to recommend in addition, to set the blocksize of the dd writing to the tape to the same, that you would use to write with cpio.
I.e. a cpio -ovB should be piped to a dd with obs=5120 bytes.
In this case, you can move the tape to another host an read directly with the coresponding cpio - read command.
Otherwise, you might have to adjust the blocksize or read through dd to a pipe first upon recovery.
Volker