- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to restore one file from Ignite.
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
Discussions
Discussions
Forums
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
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
тАО07-25-2005 06:30 AM
тАО07-25-2005 06:30 AM
Need to restore the cron file for oracle (user) to a file and need to send it to the DBA's.
I have last weeks ignite tape.
I was knowing the command but i forgot.
Any help is appeciated.
Tx
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 06:39 AM
тАО07-25-2005 06:39 AM
Re: How to restore one file from Ignite.
cd /tmp
tar -xvf /dev/0m /var/spool/cron/crontabs/oracle
provided your tape drive's device path is /dev/0m and your crontabs are located at this location. If anything is different, adjust according to your specific situation.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 06:41 AM
тАО07-25-2005 06:41 AM
Re: How to restore one file from Ignite.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 07:02 AM
тАО07-25-2005 07:02 AM
Re: How to restore one file from Ignite.
Have done individual file restores from Ignite tape many times.
mt -t tapen fsf 1 ( to forward past the LIF on tape, don't forget to use the no-rewind device)
tar xvf tape file to restore
Once past the LIF info you can do a "tar vtf tape" to list the contents just to be sure. Do not forget to rewind and fsf again to do the restore.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 07:20 AM
тАО07-25-2005 07:20 AM
Re: How to restore one file from Ignite.
var/spool/cron/crontabs/username
There is no leading slash so there is no fear of overwriting the existing file as long as you are not in the root (/) directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 11:59 AM
тАО07-25-2005 11:59 AM
Re: How to restore one file from Ignite.
tar xvf /dev/rmt/0mnb var/spool/cron/crontabs/username
NOTE: ALWAYS use the Berkeley no-rewind device file. The default device file 0m will nullify any mt tape positioning commands. See man mt
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2005 02:08 PM
тАО07-26-2005 02:08 PM
Re: How to restore one file from Ignite.
Given the following commands.
cd /tmp
mt -f /dev/rmt/0mn rew
mt -f /dev/rmt/0mn fsf 1
tar xvf /dev/rmt/0mn var/spool/cron/crontabs/oracle
the file was restored to /tmp.
Tx for all your help.