Operating System - HP-UX
1748128 Members
4377 Online
108758 Solutions
New Discussion юеВ

Re: Selected abcz folder backup (not volume)

 
Akif_1
Super Advisor

Selected abcz folder backup (not volume)

Hi All,

I wanted to backup a particular folder abcz , But it did not run successfully where as whole volume /archive backup done successfully.

Command used:
-===========-
vxdump -0 -u -f /dev/rmt/0mn /archive/abcz

My ? :

How can i backup a particular folder in a tape for an incremental backup of rman.

Thanks & Regd's


T(ogether) E(very one) A(chive) M(ore)
4 REPLIES 4
Akif_1
Super Advisor

Re: Selected abcz folder backup (not volume)

Can i use FBACKUP as SAM provide this utility to backup selected directory/file.....

If YES Require a full command path which is used for production purpose......

Note: My selected directory consists of 75GB and backup on DLT tape.

Rgd's



T(ogether) E(very one) A(chive) M(ore)
OldSchool
Honored Contributor

Re: Selected abcz folder backup (not volume)

as you've discovered, vxdump is the wrong tool for this.

fbackup will do it, however, if you read the man page, its use is "deprecated", meaning that it may not / will not be supported in thh future.

there are a variety of commercial tools that have this ability, such as TSM or DataProtector.

Bacula and Amanda are freely available and might be of use, but I've no idea how / if they "integrate" with rman, nor how you planning on trying to do so.

if you do choose fbackup, you might consider reading the man page.
Akif_1
Super Advisor

Re: Selected abcz folder backup (not volume)

Using the normal tape location to do a full backup, insert a new tape and enter:

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


To restore selected files or directories use -i /path option. For example, just restore /home/abcd directory, enter:

# frecover -f /dev/rmt/0m -x -v -i /home/abcd


ERROR:
frecover(4301): /home/abcd not recovered from backup media


After successfully FBACKUP on media and able to view all contents , Unable to FRECOVER it as it throws above error........

Rgd's
T(ogether) E(very one) A(chive) M(ore)
Dennis Handly
Acclaimed Contributor

Re: Selected abcz folder backup (not volume)

>Unable to FRECOVER it as it throws above error.

You might want to list what's on the tape so see what you backed up.