- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TAR of symbolic link and Permissions
Operating System - HP-UX
1755033
Members
5879
Online
108828
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
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
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
тАО07-20-2008 10:38 PM
тАО07-20-2008 10:38 PM
Hi all.
I have mount poings /oracle8 and /oracle8_TEMP.
/oracle8 is production directory where oracle client is currently installed. /oracle8_TEMP is new directory where I want to migrate the client. Please advice me if backing up /oracle8 directory then installing it in /oracle8_TEMP is just OK. Just to be sure I will not miss all the links, binaries links, permissions, how will make a tar backup file of /oracle8 and then restore it to /oracle8_TEMP. What are the options? Is it simply tar -cpvhf oracle8.tar /oracle8? Then tar -xpvf oracle8.tar /oracle8_TEMP? Do i still need to trigger relinkall?
I have mount poings /oracle8 and /oracle8_TEMP.
/oracle8 is production directory where oracle client is currently installed. /oracle8_TEMP is new directory where I want to migrate the client. Please advice me if backing up /oracle8 directory then installing it in /oracle8_TEMP is just OK. Just to be sure I will not miss all the links, binaries links, permissions, how will make a tar backup file of /oracle8 and then restore it to /oracle8_TEMP. What are the options? Is it simply tar -cpvhf oracle8.tar /oracle8? Then tar -xpvf oracle8.tar /oracle8_TEMP? Do i still need to trigger relinkall?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 10:46 PM
тАО07-20-2008 10:46 PM
Re: TAR of symbolic link and Permissions
Hi Jojo Castro
The question here is when we install oracle that it create some files and links under /etc or in OS part also, so we have to look on that part also.Yes, fs we take a tar back with path ./oracle8 that i think it will include that also.
Regards
Sanjeev
The question here is when we install oracle that it create some files and links under /etc or in OS part also, so we have to look on that part also.Yes, fs we take a tar back with path ./oracle8 that i think it will include that also.
Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 11:05 PM
тАО07-20-2008 11:05 PM
Solution
>Is it simply tar -cpvhf oracle8.tar /oracle8?
If you give an absolute path, you'll need pax(1) to restore it to /oracle8_TEMP.
tar -cvf path/oracle8.tar -C /oracle8 .
You don't want to follow symlinks with -h. -p is only useful for restore.
To restore:
cd /oracle8_TEMP
tar -xpvf path/oracle8.tar
You may want to remove the -v from one or both.
>Do i still need to trigger relinkall?
Not sure if the old paths are still in the executables or they are handled by LD_LIBRARY_PATH/SHLIB_PATH?
If you give an absolute path, you'll need pax(1) to restore it to /oracle8_TEMP.
tar -cvf path/oracle8.tar -C /oracle8 .
You don't want to follow symlinks with -h. -p is only useful for restore.
To restore:
cd /oracle8_TEMP
tar -xpvf path/oracle8.tar
You may want to remove the -v from one or both.
>Do i still need to trigger relinkall?
Not sure if the old paths are still in the executables or they are handled by LD_LIBRARY_PATH/SHLIB_PATH?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 02:21 AM
тАО07-21-2008 02:21 AM
Re: TAR of symbolic link and Permissions
Thanks all for the answers...
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP