Operating System - HP-UX
1830888 Members
1469 Online
110017 Solutions
New Discussion

Re: FBACKUP vs CPIO question

 
iphy onibuje
Occasional Contributor

FBACKUP vs CPIO question

hi there,
i am currently testing fbackup for the first time to back up my files. i need to know the command or switches to use so i can see the display on the PC screen so i know whats going on as i am backing up. for instance the command for CPIO is -p, so please whats the command for fbackup. thanks

regards
iphy onibuje
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: FBACKUP vs CPIO question

The command is frecover.

It is used to recover files or just display whats on the tape.

frecover -I path

The path is where you want the list to go, its actually a text file.

man frecover

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: FBACKUP vs CPIO question

Perhaps you're looking for this (from man fbackup):

-v Run in verbose mode. Generates status messages that
are otherwise not seen.


Pete

Pete
Jairo Campana
Trusted Contributor

Re: FBACKUP vs CPIO question

Michael Steele_2
Honored Contributor

Re: FBACKUP vs CPIO question

-p in cpio is pass through. I've only used this for moving filesystems from one to another.

The equivalent in fbackup is :

cd /dest
fbackup -i /source -f - | frecover -x -X -f -

What you're describing isn't pass through. You said "... need to know the command or switches to use so i can see the display on the PC screen so i know whats going on as i am backing up..."

For this you want to refer to the index with the -I option:

"... specifies the name of the on-line index file to be generated. It consists of one line for each file backed up during the session. Each line contains the file size, the volume number on which that file resides, and the file name. If the -I option is omitted, no index file is generated..."

For example

fbackup -I /tmp/05062003_index

tail -f /tmp/05062003_index

Will list out the appended index in real time, if you don't see it from the acutal session.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3921-90010/B3921-90010_top.html&con=/hpux/onlinedocs/B3921-90010/00/05/523-con.html&toc=/hpux/onlinedocs/B3921-90010/00/05/523-toc.html&searchterms=fbackup&queryid=20030506-090729
Support Fatherhood - Stop Family Law