- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: moving large file system for short term test
Operating System - HP-UX
1824995
Members
2202
Online
109678
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО02-16-2007 09:28 AM
тАО02-16-2007 09:28 AM
I have a large file (approx 6 Gb) system that I want to copy to another system for a short term test.
- I don't have a tape drive on the "new" system, so I can't backup/restore the data from system to system.
I'd like to use tar; is there a way to exclude certain parts of the file system when making tarballs? I don't necessarily need all of the file system...
Thanks!
- I don't have a tape drive on the "new" system, so I can't backup/restore the data from system to system.
I'd like to use tar; is there a way to exclude certain parts of the file system when making tarballs? I don't necessarily need all of the file system...
Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2007 09:39 AM
тАО02-16-2007 09:39 AM
Solution
Hi Joe:
One way is simply to use use 'rcp -r' and recursively copy the directories you need.
Instead of using 'tar', another approach is to use 'fbackup'. You have the ability with 'fbakcup' graphs to exclude and include whatever you need. In the absence of a tape drive, you can create the 'fbackup' on a disk. When done, copy the disk resident file to your other server and use 'frecover' to restore its contents.
Regards!
...JRF...
One way is simply to use use 'rcp -r' and recursively copy the directories you need.
Instead of using 'tar', another approach is to use 'fbackup'. You have the ability with 'fbakcup' graphs to exclude and include whatever you need. In the absence of a tape drive, you can create the 'fbackup' on a disk. When done, copy the disk resident file to your other server and use 'frecover' to restore its contents.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2007 09:39 AM
тАО02-16-2007 09:39 AM
Re: moving large file system for short term test
Yes but it's much easier to use fbackup/frecover because the graph file makes it trivially easy to include/exclude files and directories. Of course, fbackup/frecover is only an option if you are going from HP-UX to HP-UX. Your other option that allows easy fine granularity is
cpio. You either feed cpio from a find or from a list of files that you wish to backup --- which is all a find output piped to cpio does.
You could also do something like:
cd /srcdir
find . print > /var/tmp/mylist
and then manually edit mylist.
Finally:
cd /srcdir
cat /var/tmp/mylist | cpio -ocv > /xxx/myfile.cpio
Of course, it's much easier to either sucessively build your list with multiple finds with proper filter or multiplr filters in a single find.
cpio. You either feed cpio from a find or from a list of files that you wish to backup --- which is all a find output piped to cpio does.
You could also do something like:
cd /srcdir
find . print > /var/tmp/mylist
and then manually edit mylist.
Finally:
cd /srcdir
cat /var/tmp/mylist | cpio -ocv > /xxx/myfile.cpio
Of course, it's much easier to either sucessively build your list with multiple finds with proper filter or multiplr filters in a single find.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2007 09:56 AM
тАО02-16-2007 09:56 AM
Re: moving large file system for short term test
Thanks, guys!
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP