GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help in cpio needed
Operating System - HP-UX
1855505
Members
11180
Online
104111
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
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
03-29-2000 04:45 PM
03-29-2000 04:45 PM
Help in cpio needed
Hi all,
I need the command options to backup several directories with cpio:
1. How to backup the dir /home/users/xyz to /dev/rmt/0m
2. How to list the files of that Backup
3. How to add the dir /etc to that archive
4. How to restore the Tape on other system (e.g. IBM, or SUN)
5. How to restore the file /etc/test.txt from the stored Tape to the dir
/home/users/xyz/test.txt.
Any help is nedded.
Regards
Daniel
I need the command options to backup several directories with cpio:
1. How to backup the dir /home/users/xyz to /dev/rmt/0m
2. How to list the files of that Backup
3. How to add the dir /etc to that archive
4. How to restore the Tape on other system (e.g. IBM, or SUN)
5. How to restore the file /etc/test.txt from the stored Tape to the dir
/home/users/xyz/test.txt.
Any help is nedded.
Regards
Daniel
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2000 12:02 AM
03-30-2000 12:02 AM
Re: Help in cpio needed
1) To backup the directory /home/users/xyz to /dev/rmt/0m
# cd /home/users/xyz
# find . -xdev -depth | cpio -ocx > /dev/rmt/0m
2) To list the files of that backup
# cpio -ictv < /dev/rmt/0m
3) cpio (1) doesn't support the append. The backup utility that does support
append mode is tar (1).
4) How to restore the tape on another system:
# cpio -iudmcx < /dev/rmt/0m
5) How to restore the file /etc/test.txt from tape to the directory
/home/users/xyz/test.txt
# cd /home/users/xyz
# cpio -icvdxumB < /dev/rmt/0m test.txt
Regards,
Atif
# cd /home/users/xyz
# find . -xdev -depth | cpio -ocx > /dev/rmt/0m
2) To list the files of that backup
# cpio -ictv < /dev/rmt/0m
3) cpio (1) doesn't support the append. The backup utility that does support
append mode is tar (1).
4) How to restore the tape on another system:
# cpio -iudmcx < /dev/rmt/0m
5) How to restore the file /etc/test.txt from tape to the directory
/home/users/xyz/test.txt
# cd /home/users/xyz
# cpio -icvdxumB < /dev/rmt/0m test.txt
Regards,
Atif
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 2026 Hewlett Packard Enterprise Development LP