- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to do multiple backups using CPIO on one tape?
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
06-09-2004 10:32 AM
06-09-2004 10:32 AM
I have some scripts that already use CPIO to back up files from a single directory to a tape device. I now have additional files in other directories that I want to backup to the SAME tape. Can I do it?? If so, how?
TIA,
Srikanth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 11:18 AM
06-09-2004 11:18 AM
Re: How to do multiple backups using CPIO on one tape?
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 03:39 PM
06-09-2004 03:39 PM
Re: How to do multiple backups using CPIO on one tape?
for DIR in $*
do
find $DIR -xdev -depth -print >>/tmp/list_bkp$$
done
cat /tmp/list_bkp$$ file and pipe it to ur existing backup script's CPIO function. Or use cpio -p so that it takes everything from STDIN.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 03:55 PM
06-09-2004 03:55 PM
Re: How to do multiple backups using CPIO on one 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
06-09-2004 03:59 PM
06-09-2004 03:59 PM
SolutionAt least this is what I do in both SCO (OpenServer & Unixware) and Linux systems.
The only caveat is that you need to do mulitple restores, as each file-mark ends on the tape, you need to issue another cpio command.
We use this method to back up 8-9 different machines around our office here. But we're small scale, only just starting to fill the 115GB Ultrim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 03:59 PM
06-09-2004 03:59 PM
Re: How to do multiple backups using CPIO on one tape?
It means -p goes with only dir ==> dir ?
Anyway the post was my assumption i never tested it.
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:12 AM
06-10-2004 02:12 AM
Re: How to do multiple backups using CPIO on one tape?
I agree with Stuart. I happened to try that last night and it worked just fine. I am going to use that approach.
Thanks Again!