Operating System - HP-UX
1834796 Members
2573 Online
110070 Solutions
New Discussion

fbackup and the /stand directory

 
MTSU_SAN
Regular Advisor

fbackup and the /stand directory

I know this sounds like a newbie question, and I haven't much experience with fbackup.

I used the command:
fbackup -f /dev/rmt/1m -i /
but when I try to retore, or list, the contents of /stand on the backup, it seems to be empty. Do I need more options on fbackup? Other directories seem to be complete!?
4 REPLIES 4
Satish Y
Trusted Contributor

Re: fbackup and the /stand directory

Can u give command line u r using to restore?.

Cheers...
Satish.
Difference between good and the best is only a little effort
Victor_5
Trusted Contributor

Re: fbackup and the /stand directory

Use the following commands in single user mode:

full backup
# fbackup -vf /dev/rmt/1m -0i /

backup /tmp(only for example)
# fbackup -vf /dev/rmt/1m -i /tmp

complete restore
# frecover -rvf /dev/rmt/1m

restore /tmp (only for example)
# frecover -rvf /dev/rmt/1m -i /tmp

Hope it can helps.
Mark Vollmers
Esteemed Contributor

Re: fbackup and the /stand directory

Jerry-

Try sending the output of the backup command to a text file and look for any files in /stand in there (fbackup -f /dev/rmt/1m -i / >/file_path). Be sure you have a large place for this file, it could be big (ours are several MB in size). You could also watch the screen, but they scroll by pretty fast. YOu could also go to SAM and use backup there, being sure to specify /stand as one of the directories to include. SAM will send the list of files to a log (br_log) where you can again go and scan for the files. Hope this helps!

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
MTSU_SAN
Regular Advisor

Re: fbackup and the /stand directory

I was using recover command(s) as follows:
cd /tmp3
frecover -f /dev/rmt/1m -i /stand -xX

By the way, I did the exact same thing again, and all of the files/directories in /stand seem to be there this time. I'm worried that something else is missing that I'll need at some point! I guess I should go to single user mode, but noone else is on this machine, so I thought it was not necessary.