- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: taking full backup and restoring using tar and...
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
05-11-2007 08:11 AM
05-11-2007 08:11 AM
taking full backup and restoring using tar and cpio
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 08:19 AM
05-11-2007 08:19 AM
Re: taking full backup and restoring using tar and cpio
For example:
Because of industry standards and interoperability goals, tar does not support the archival of files of size 8GB or larger or files that have user/group IDs 2MB or greater.
And cpio nees to do a find to get the list of files.
What about using fbackup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 08:19 AM
05-11-2007 08:19 AM
Re: taking full backup and restoring using tar and cpio
what do you would like to backup?
For the OS you should use ignite:
http://docs.hp.com/en/IUX
(in fact this is tar)
For data it really depends ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 08:33 AM
05-11-2007 08:33 AM
Re: taking full backup and restoring using tar and cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 08:49 AM
05-11-2007 08:49 AM
Re: taking full backup and restoring using tar and cpio
I would do something close to this:
cd /
find . -print | cpio -ocv -C 65536 > /dev/stape0 (or what ever your tape drive is)
To restore everything under ./home,
cd to desired starting directory
cpio -icvdum -C 65536 ./home < /dev/stape0
Now if the machine is completely dead, you will need to install an OS before tar or cpio can do you any good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2007 09:13 PM
05-11-2007 09:13 PM
Re: taking full backup and restoring using tar and cpio
tape -s rewind (rewind the tape)
tape -a 512 setblk /dev/rStp0
(set the block size to 512)
tar -xvf /dev/rStp0 /*
tar -tvf /dev/rStp0
tar -cvf /dev/rStp0
--
cd /
find . -depth -print |cpio -ocva -C 10240 -O /dev/rct0
cpio -icvd -I /dev/rct0
find . -depth -print | cpio -ocvB -O /dev/nrStp0
cpio -icvdumA < /dev/nrStp0
cpio -itv -I /dev/nrStp0 (to list the contents of the tape
The above is from my old notes and right now I am not able to test it on an OpenServer box - mine is also off the network and away from us. As Clay suggested cpio is more better to use.
Regards.