- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Fbackup Frecover
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
12-29-2004 04:50 AM
12-29-2004 04:50 AM
Fbackup Frecover
Here is part of a script
TARGETS="/ /home /usr /var /app /u01 /u02 /u03 /u04 /u05 /u06 /u07"
do
/usr/sbin/fbackup -0i $i
-f /dev/rmt/4mn
status=$?
echo fbackup status = $status >> full
done
When I limit the targets to say / /home /usr the fbackup command does the other partitions.
I am used to using mt fsf 3 to move the volume on the tape I want with vdump. When I read the full backup tape with vrestore it only show the u07 parition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 04:53 AM
12-29-2004 04:53 AM
Re: Fbackup Frecover
If you want to limit the scope take off the / (root fs). That says do root and ann subs, as in everything.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 05:33 AM
12-29-2004 05:33 AM
Re: Fbackup Frecover
How can I then read using frestore?
I found the command frecover -rNv -f /dev/rmt/2mn. When I used it on a tape that was supposed to have all my targets it only listed the last one. Is there a good web resource for HPUX or a good book.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 05:41 AM
12-29-2004 05:41 AM
Re: Fbackup Frecover
Your better option would be to use a graph file with fbackup and include the paths that you want to backup.
Have a look through the fbackup man page for more information on graph files. I believe that there is also an option to fbackup to tell it NOT to cross mount points. Again, the man page should have all the information you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 06:06 AM
12-29-2004 06:06 AM
Re: Fbackup Frecover
You cannot append files to the tape, so if you write /, /home, /usr in different sessions, you'll only see /usr since the 3rd session would have overwritten / & /home.
Here is a comparision of the backup utilities under hp-ux,
http://docs.hp.com/en/5990-8172/ch06s04.html
Check the section "Choosing an HP-UX Backup/Recovery Utility"
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 06:50 AM
12-29-2004 06:50 AM
Re: Fbackup Frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 06:59 AM
12-29-2004 06:59 AM
Re: Fbackup Frecover
See this script:
#!/usr/bin/sh
/opt/ignite/bin/make_tape_recovery -Av -x inc_entire=vg00
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 08:18 AM
12-29-2004 08:18 AM
Re: Fbackup Frecover
i /usr
i /var
i /home
I ran the following command
fbackup -0g /usr/local/bin/ktgraph -f /dev/rmt/2m
fbackup(1417): cannot open the dates file /var/adm/fbackupfiles/dates for reading
fbackup(1004): session begins on Wed Dec 29 16:01:02 2004
fbackup(3203): volume 1 has been used 22 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/2mn
fbackup(1102): WARNING: unable to stat file /var/opt/dce/rpc/local/02544/c-0/9863
fbackup(3005): WARNING: file number 58131 was NOT backed up
fbackup(1102): WARNING: unable to stat file /var/spool/sockets/pwgr/client6243
fbackup(1102): WARNING: unable to stat file /var/spool/sockets/pwgr/client6253
fbackup(3005): WARNING: file number 60015 was NOT backed up
fbackup(3005): WARNING: file number 60016 was NOT backed up
fbackup(1030): warnings encountered during backup
when I tried to read the tape with
frecover -rNv -f /dev/rmt/rmn
I go the following
did not find expected file marker
unable to read volume header
not an fbackup volume
and Ideas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 09:14 AM
12-29-2004 09:14 AM
Re: Fbackup Frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 02:08 PM
12-29-2004 02:08 PM
Re: Fbackup Frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2004 02:17 PM
12-29-2004 02:17 PM
Re: Fbackup Frecover
The fbackup messages are all normal iincluding the WARNINGS. The missing files are all temporary and were removed while fbackup was running. Once fbackup is finished, check the header:
frecover -V - -f /dev/rmt/2m
Then get a complete list of all the files that were backed up:
frecover -I /var/tmp/myindex -f /dev/rmt/2m
The error message given by frecover indicates that the tape you were reading is not an fbackup volume or it was destroyed by some other command that was directed to write on the tape.
Bill Hassell, sysadmin