- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help in cpio needed
Operating System - HP-UX
1777014
Members
1987
Online
109062
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
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
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP