This widget could not be displayed.
1859562 Members
7276 Online
110403 Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.

Re: fbackup

 

fbackup

I've found that fbackup does not appear to do what's reported. We use a Sony AIT-2. Please see the examples below:
Example 1.
----------
# fbackup -f - -i /101/101/tttutl -v > /dev/rmt/0m
fbackup(1004): session begins on Tue May 10 13:56:20 2005
fbackup(3024): writing volume 1 to the output file -
1: / 16
2: /101 1
3: /101/101 4
4: /101/101/tttutl 1
5: /101/101/tttutl/checkfile 1
6: /101/101/tttutl/tutl947101.bdt 8
7: /101/101/tttutl/tutl947101.bid 48
fbackup(1005): run time: 1 seconds
fbackup(3055): total file blocks read for backup: 79
fbackup(3056): total blocks written to output file -: 120
# frecover -x -N -v -f - < /dev/rmt/0m
#

i.e. nothing reported.

Example 2.
----------
But if we run:
# fbackup -f - -i /101/101/ttttxt -i /101/101/tttutl -v > /dev/rmt/0m
fbackup(1004): session begins on Tue May 10 14:26:30 2005
fbackup(3024): writing volume 1 to the output file -
1: / 16
2: /101 1
3: /101/101 4
4: /101/101/ttttxt 4
5: /101/101/ttttxt/ttxt001101.bdt 24632
6: /101/101/ttttxt/ttxt001101.bid 5432
7: /101/101/ttttxt/ttxt002101.bdt 41032
8: /101/101/ttttxt/ttxt002101.bid 23912
9: /101/101/ttttxt/ttxt003101.bdt 0
10: /101/101/ttttxt/ttxt003101.bid 32
11: /101/101/ttttxt/ttxt004101.bdt 8
12: /101/101/ttttxt/ttxt004101.bid 32
13: /101/101/ttttxt/ttxt005101.bdt 8
14: /101/101/ttttxt/ttxt005101.bid 56
15: /101/101/ttttxt/ttxt006101.bdt 16
16: /101/101/ttttxt/ttxt006101.bid 176
17: /101/101/ttttxt/ttxt007101.bdt 8
18: /101/101/ttttxt/ttxt007101.bid 48
19: /101/101/ttttxt/ttxt008101.bdt 8
20: /101/101/ttttxt/ttxt008101.bid 88
21: /101/101/ttttxt/ttxt009101.bdt 8
22: /101/101/ttttxt/ttxt009101.bid 40
23: /101/101/ttttxt/ttxt010101.bdt 94344
24: /101/101/ttttxt/ttxt010101.bid 4280
25: /101/101/tttutl 1
26: /101/101/tttutl/checkfile 1
27: /101/101/tttutl/tutl947101.bdt 8
28: /101/101/tttutl/tutl947101.bid 48
fbackup(1005): run time: 22 seconds
fbackup(3055): total file blocks read for backup: 194243
fbackup(3056): total blocks written to output file -: 194370
# frecover -x -N -v -f - < /dev/rmt/0m
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt001101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt002101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt002101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt003101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt003101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt004101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt004101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt005101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt005101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt006101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt006101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt007101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt007101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt008101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt008101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt009101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt009101.bid
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt010101.bdt
-rw-rw-rw- bsp bsp /101/101/ttttxt/ttxt010101.bid
drwxrwx--- bsp bsp /101/101/tttutl
-rw-rw-rw- root sys /101/101/tttutl/checkfile
-rw-rw-rw- bsp bsp /101/101/tttutl/tutl947101.bdt
-rw-rw-rw- bsp bsp /101/101/tttutl/tutl947101.bid
#

Any ideas as to why it should not report anything on tape under the first example?
4 REPLIES 4
Rajeev  Shukla
Honored Contributor

Re: fbackup

Hi Michael,

I have never seen using fbackup with a redirect (>) to device file. Have a look at the man pages of fbackup and frecover.
Here is what i would suggest to use

#fbackup -v -i /101/101/tttutl -f /dev/rmt/0m

Cheers
Rajeev

Re: fbackup

Can't do that format as the SOny AIT is not recognised.

Re: fbackup

This is what happens if I try the -f switch:

# fbackup -v -i /101/101/tttutl -f /dev/rmt/0m
fbackup(1004): session begins on Tue May 10 17:00:36 2005
fbackup(3038): output file /dev/rmt/0m is not a valid device file for backup
fbackup(3019): would you like to enter a new output file?
n
fbackup(3022): would you like to continue this session?
n
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit
Ermin Borovac
Honored Contributor