- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- frecover without interactive mode with bad backup
Operating System - HP-UX
1753479
Members
5051
Online
108794
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
тАО10-15-2002 06:25 AM
тАО10-15-2002 06:25 AM
Hello,
i'm trying to test an archive file made with fbackup.
My command is :
frecover -r -N -f file.bkp
My problem is : when the archive is bad, frecover ask for "salvage" this volume, or "try with a different one". This is the interactive mode i don't want in my script. I just need to known if the backup is good, or bad !!
stdout is :
--------------------------------------
frecover -r -N -f 149.bkp
frecover(5418): not an fbackup volume; unable to read volume header
frecover(5412): Do you wish to try to salvage this volume? [yes no] no
frecover(5411): Do you wish to try a different volume? [yes no] no
frecover(5414): abort selected
--------------------------------------
i try : "echo "no\nno\n" | frecover ... but it doesn't works better,
or -S option to skip bad blocks, but without any success!
Thank's a lot in advance !
Olivier.
i'm trying to test an archive file made with fbackup.
My command is :
frecover -r -N -f file.bkp
My problem is : when the archive is bad, frecover ask for "salvage" this volume, or "try with a different one". This is the interactive mode i don't want in my script. I just need to known if the backup is good, or bad !!
stdout is :
--------------------------------------
frecover -r -N -f 149.bkp
frecover(5418): not an fbackup volume; unable to read volume header
frecover(5412): Do you wish to try to salvage this volume? [yes no] no
frecover(5411): Do you wish to try a different volume? [yes no] no
frecover(5414): abort selected
--------------------------------------
i try : "echo "no\nno\n" | frecover ... but it doesn't works better,
or -S option to skip bad blocks, but without any success!
Thank's a lot in advance !
Olivier.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2002 08:28 AM
тАО10-15-2002 08:28 AM
Solution
Wow, that's really complicated... frecover open()s directly its controlling terminal, if possible.
You could use the expect toolkit. Or run it from a cron/at job... when frecover fails you could examine the stdout/stderr.
Really bad. There is simply a "-n" option missing (answer "no" to all questions... just like "-y").
Regards...
Dietmar.
You could use the expect toolkit. Or run it from a cron/at job... when frecover fails you could examine the stdout/stderr.
Really bad. There is simply a "-n" option missing (answer "no" to all questions... just like "-y").
Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2002 11:18 PM
тАО10-15-2002 11:18 PM
Re: frecover without interactive mode with bad backup
Thank's Dietmar to your response.
I think the expect toolkit is a little complicate, and using cron/job is not possible.
May be the next version of frecover will have the '-n' otion ...
Before this version is available, i this i will try to convert all of my scripts with the 'tar' command !!!
Olivier.
I think the expect toolkit is a little complicate, and using cron/job is not possible.
May be the next version of frecover will have the '-n' otion ...
Before this version is available, i this i will try to convert all of my scripts with the 'tar' command !!!
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2002 01:04 AM
тАО10-16-2002 01:04 AM
Re: frecover without interactive mode with bad backup
I submitted enhancement request JAGae46974 to address this issue.
Regards...
Dietmar.
Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
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