- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpio -x
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
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 Software
Knowledge Base
Discussions
Forums
Discussions
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
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
09-02-2003 05:58 AM
09-02-2003 05:58 AM
cpio -x
I have always used cpio for my daily backups but noticed some time ago that it didn't do so well with special files.
Today I was reading man on cpio and noticed the -x option.
Does anyone know if it covers -all- special files? i.e. can I completely restore a system with a full cpio (assuming there's enough of an OS left to run cpio for the restore)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:05 AM
09-02-2003 06:05 AM
Re: cpio -x
The only way I know to completely restore a system including lif and boot is Ignite. Though it appears that cpio can fix a partially damaged system. If the LIF area is trashed your only option is to restore off a make_tape_recovery tape.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:15 AM
09-02-2003 06:15 AM
Re: cpio -x
make full copy of your system doing cpio.
As was mentioned above, use Ignite.
Meantime you could use cpio -x for
backup /dev, for example, or for moving data
between disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:17 AM
09-02-2003 06:17 AM
Re: cpio -x
per man pages it does take backup of special files but I think ignite tape(make_tape_recovery) would be better choise.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:17 AM
09-02-2003 06:17 AM
Re: cpio -x
The -x option in cpio is very old (at least 10 years I think).
I have often, with earlier versions of HP-UX, cloned system disks with cpio. I have not tried with HP-UX 11.x (as Ignite is a better tool) but I don.t think there is any differences, all special files is created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 06:35 AM
09-02-2003 06:35 AM
Re: cpio -x
I've only about 30 GB of data and one DLT tape drive - no library - so mine is a simple case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 07:14 AM
09-02-2003 07:14 AM
Re: cpio -x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 07:21 AM
09-02-2003 07:21 AM
Re: cpio -x
You are not in my opinion planning on running Ignite often enough.
I run this script to back up vg00 and enable me to restore boot disk without hitting data once a week.
#!/usr/bin/sh
/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00
I also run it prior to almost any patch installation so I have a way of backing out the changes fast should the system not boot after the installation.
My DR strategy is this: Regular make_tape_recovery backups, weekly fbackups and nightly Veritas backups on critical data. Weekly full backups followed by incrementals.
The recovery strategy is if the system is trashed, restore off Ignite tape first and then restore the rest of the data from fbackup or Veritas.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 08:00 AM
09-02-2003 08:00 AM
Re: cpio -x
regarding your last question: yes with -i you can include individual files, as well as directories which is more common.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2003 08:03 AM
09-02-2003 08:03 AM
Re: cpio -x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 06:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 06:36 AM
09-03-2003 06:36 AM
Re: cpio -x
And fo a direct answer, the best way of restoring special files, in the need, is:
- ignite, if there was a total crash
- by hand, using a paper copy of an ioscan -fn
- re-creating when possible, using insf.
As previously said, cpio in not a disaster-recovery tool (like ignite) nor a full backup solution by otself.
Massimo