1819857 Members
3465 Online
109607 Solutions
New Discussion юеВ

fbackup to a file

 
SOLVED
Go to solution
Ed Hon
Regular Advisor

fbackup to a file

Can I fbackup to and frecover from a disk file, instead of a device?
3 REPLIES 3
Cheryl Griffin
Honored Contributor
Solution

Re: fbackup to a file

Sure you can. Here's the command:
# fbackup -vi /home/cherylg/new -f - > /home/cherylg/fbackup.files

The output:
fbackup(1004): session begins on Wed Dec 3 11:39:03 2003
fbackup(3024): writing volume 1 to the output file -
1: / 6
2: /home 2
3: /home/cherylg 2
4: /home/cherylg/new 2
5: /home/cherylg/new/2003-11-03_235900.log 0
6: /home/cherylg/new/2003-11-03_235900.logacc 0
7: /home/cherylg/new/2003-11-03_235900.logptr 0
8: /home/cherylg/new/2003-11-04-235800.logptr 0
9: /home/cherylg/new/2003-11-04-235900.logacc 0
10: /home/cherylg/new/2003-11-04-235900.logptr 0
11: /home/cherylg/new/2003-11-04_235900.log 0
fbackup(1005): run time: 1 seconds
fbackup(3055): total file blocks read for backup: 12
fbackup(3056): total blocks written to output file -: 66

The results:
# ll fbackup.files
-rw-rw-rw- 1 root sys 33792 Dec 3 11:39 fbackup.files

To view the contents:
# frecover -Nrosv -f fbackup.files > index 2>&1
# cat index
"Downtime is a Crime."
Michael Schulte zur Sur
Honored Contributor

Re: fbackup to a file

Hi,

use fbackup -f file
see man fbackup

greetings,

Michael
Fabio Ettore
Honored Contributor

Re: fbackup to a file

Hi,

of course!

# fbackup -f /tmp/pippo.bk -i /home -v

# frecover -x -f /tmp/pippo.bk

-f option can be used a normal file on disk device. Above just a test.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!