- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpio hp ux
Operating System - HP-UX
1753623
Members
5892
Online
108797
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
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
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
тАО04-06-2000 12:59 AM
тАО04-06-2000 12:59 AM
cpio hp ux
Hello, I would like to read an easy document with examples about how to use
cpio . I?m fed up of reading getout of reading
cpio: Out of phase; resyncing.
Thanks,
Francisco
cpio . I?m fed up of reading getout of reading
cpio: Out of phase; resyncing.
Thanks,
Francisco
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2000 11:26 AM
тАО04-06-2000 11:26 AM
Re: cpio hp ux
This might be too obvious but what about man cpio
If this is not what your after try www.docs.hp.com
If this is not what your after try www.docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2000 12:27 AM
тАО04-10-2000 12:27 AM
Re: cpio hp ux
Hello,
I am working on hp-ux for many years. I never understand and use cpio
sucessully instead of tar or fbackup. It is really a cloudy for me.
If someone understand them. Please give us three easy command :
1) backup files or dierectories on tape
2) read the contain of tape
3) restore data from tapes into other directories
Thanks
I am working on hp-ux for many years. I never understand and use cpio
sucessully instead of tar or fbackup. It is really a cloudy for me.
If someone understand them. Please give us three easy command :
1) backup files or dierectories on tape
2) read the contain of tape
3) restore data from tapes into other directories
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2000 09:23 PM
тАО04-10-2000 09:23 PM
Re: cpio hp ux
With cpio I tend to use the same set of parameters going in and out of tape.
To write to tape
cd to target directory
# cd /tmp
# find . -print | cpio -ocdumvB > $(tapedevice}
to read from tape (index only
# cpio -itcB < ${tapedevice} > /tmp/index.out
nb it does read the entire tape, there is no index
at the beginning of tape like there is in fbackup
TO restore to other directories
WILL DEPEND ON HOW THE TAPE WAS WRITTEN.
if the silly person did hardcoded pathnames from /
you cant do it, if they did relative using a .
you can recover. Just cd to the target directory.
It will build up an index.
Good points
Keeps permissions except for files with owner/group
uids greater than 64K
Will create sub directories, thus great for relocating filesystems.
Uses less cpu than tar or cp
Bad points
if you dont backup relative you cannot change the restore directory
remembering the litany of variables.
i - input copying in
c - character sync (if you get out of phase drop this)
d - traverse directories
u - keep ownership
m - keep modification time
v - verbose , list files
0 - ouitput write somewhere
t - table of contents
B - blocking factor of 512 k
FInal hint
use cpio -ocdumvC800
when writing to tape, will give a considerably higher
thruput, but you must change your tape block size to
4096k.
u
To write to tape
cd to target directory
# cd /tmp
# find . -print | cpio -ocdumvB > $(tapedevice}
to read from tape (index only
# cpio -itcB < ${tapedevice} > /tmp/index.out
nb it does read the entire tape, there is no index
at the beginning of tape like there is in fbackup
TO restore to other directories
WILL DEPEND ON HOW THE TAPE WAS WRITTEN.
if the silly person did hardcoded pathnames from /
you cant do it, if they did relative using a .
you can recover. Just cd to the target directory.
It will build up an index.
Good points
Keeps permissions except for files with owner/group
uids greater than 64K
Will create sub directories, thus great for relocating filesystems.
Uses less cpu than tar or cp
Bad points
if you dont backup relative you cannot change the restore directory
remembering the litany of variables.
i - input copying in
c - character sync (if you get out of phase drop this)
d - traverse directories
u - keep ownership
m - keep modification time
v - verbose , list files
0 - ouitput write somewhere
t - table of contents
B - blocking factor of 512 k
FInal hint
use cpio -ocdumvC800
when writing to tape, will give a considerably higher
thruput, but you must change your tape block size to
4096k.
u
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