- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with cpio when I want to recover one f...
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
11-09-2000 10:18 AM
11-09-2000 10:18 AM
Problem with cpio when I want to recover one file
find /backup -depth -print | cpio -ocvB > /dev/rmt/0m
but when I try with a sentence like this nothing happens
cpio -icdvB < /dev/rmt/0m /backup/file
Thanks a lot for your help !!
Marcelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 10:21 AM
11-09-2000 10:21 AM
Re: Problem with cpio when I want to recover one file
I'm no expert on cpio but I'd try:-
cpio -icdvB /backup/file < /dev/rmt/0m
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 10:34 AM
11-09-2000 10:34 AM
Re: Problem with cpio when I want to recover one file
Command for restore :- cpio -ivdumB -E "/tmp/chris"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2000 10:49 AM
11-09-2000 10:49 AM
Re: Problem with cpio when I want to recover one file
cpio -itvc
If absolute i.e. shows /filename/etc..
then do cpio -ivcdB "/backup/file"
(try inserting file name in double quotes )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 05:13 PM
11-13-2000 05:13 PM
Re: Problem with cpio when I want to recover one file
Next, we always use quotation marks (") around the name of an individual file. If we need to restore a directory, we use "somename/*" to restore the contents of the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 06:02 AM
12-07-2000 06:02 AM
Re: Problem with cpio when I want to recover one file
As you received my points, you can see that I solve part of my problem, so the new question is:
How can I use cpio the way that you told me and download the file(s) to another directory or present directory, different from original
Thanks again
Marcelo Polizzotto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2000 10:30 PM
12-07-2000 10:30 PM
Re: Problem with cpio when I want to recover one file
If you solved your problem, then I believe that you should have assigned 8 to 10 points to all the guys who gave you the "magic answer" (all of them, in fact)
Dan