- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar question
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
04-11-2002 08:21 AM
04-11-2002 08:21 AM
tar cvf - /r10/file1.dbf /r60/file4.dbf /r20/file3.dbf /r40/file9.dbf | remsh host2 '(cd /data1; tar xvf -)'
The problem is when the files are extracted (at the "tar xvf -" part), they're being restored to their original absolute path locations. Since the new server doesn't have any of the /rXX directories, they're being created and filling up the / file system. Here's my question: Which tar option do I use, when extracting the files, to ignore the absolute path names and just restore to the current directory?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:27 AM
04-11-2002 08:27 AM
Re: tar question
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:28 AM
04-11-2002 08:28 AM
Re: tar question
Again, if you stick with absolute path, then read this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x835a50011d20d6118ff40090279cd0f9,00.html
and Harry's suggestion here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x38d6cf38d6bdd5118ff10090279cd0f9,00.html
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 08:42 AM
04-11-2002 08:42 AM
Re: tar question
cd / ;
tar cvf - r10/file2.dbf r60/file8.dbf r20/file3.dbf | remsh host2 '(cd /data1; tar xvf -)'
etc., etc..
Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 09:37 AM
04-11-2002 09:37 AM
Re: tar question
Just a reminder that tar cannot handle files > 2 Gb - even if the FS is set to support largefiles.
Something to keep in mind if those DB files grow down the road.
Rgds,
Jeff