
#/usr/bin/sh # History: This program was ported on 2008.01.01 from the fbackup to pax conversion # modeled on a Virginia Militar Institute script. To recover the header information from a fbackup command, you can use the - V flag of the frecover and review the header archive. Srwxrwxrwx hpsmdb users /tmp/.s.PGSQL.50006

Srwxrwxrwx sfmdb users /tmp/.s.PGSQL.10864 # frecover -vxX -f /var/tmp/archive.fbackup To recover files stores using absolute paths (trailing /) use the -X option to extract the files relative to the current working directory ( pwd). Recovering archives from relative directories tmp/sd_ipd_acl.2705įbackup(3056): total blocks written to output file -: 37448 tmp -f - | ( cd /var/tmp/test frecover -rvf - )įbackup(1004): session begins on Tue Jan 1 17:30:19 2008įbackup(3024): writing volume 1 to the output file. The fbackup and frecover commands can be piped together to support copying files across directories or mount points. # frecover -r -f /var/tmp/archive.fbackup -g /tmp/aph # frecover -r -f /var/tmp/archive.fbackup -i.


To extract a single file or directory on the archive you may use the -i option or a graph file that lists the file(s) or directory(ies) that should be extracted. # frecover -r -f /var/tmp/archive.fbackup To extract the complete contents of the fbackup archive. # frecover -f /var/tmp/archive.fbackup -I /var/tmp/index.fbackup # fbackup -0vi /tmp -f /var/tmp/archive.fbackupįbackup(1004): session begins on Tue Jan 1 17:22:23 2008įbackup(3024): writing volume 1 to the output file /var/tmp/archive.fbackupįbackup(3055): total file blocks read for backup: 37256įbackup(3056): total blocks written to output file /var/tmp/archive.fbackup: 37448
