Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

Append in fbackup

SOLVED
Go to solution
mehul_3
Regular Advisor

Append in fbackup

Hi there!
I wanted my backup with appending the contents to previous one say fbackup -v -f /dev/rmt/0m -i /u01/gdbs
I tried to get help from man fbackup but I could not find any switch to appending the contents.

Mehul
7 REPLIES
Joseph Loo
Honored Contributor

Re: Append in fbackup

hi,

i do not think u can append content to the tape after a fbackup session has completed. read this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=731937

use tar or cpio if you want to do so.

btw, u should really assign points to the others cause if u really want help, show that u appreciate the assistance given as well.

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1190244&listType=unassigned&forumId=1

regards.
what you do not see does not mean you should not believe
Patrick Wallek
Honored Contributor

Re: Append in fbackup

You can't do that.

fbackup will **ALWAYS** rewind the tape before it starts the backup. No appending is allowed.
mehul_3
Regular Advisor

Re: Append in fbackup

What should be done for appending the contents to previous one

Very very urgent!!!

Regards
Mehul
Patrick Wallek
Honored Contributor

Re: Append in fbackup

If you are talking about fbackup, then NOTHING.

You CAN NOT append to the end of a previous backup with fbackup. It is not supported.

If you are using other means to backup, you can try using one of the no-rewind tape device files. Those are the files that the 'n' in the name. Like /dev/rmt/0mn, /dev/rmt/1mn, etc.

mehul_3
Regular Advisor

Re: Append in fbackup

i.e the contents can be appended to DAT using /dev/rmt/0mn

waiting for reply and thanks for your patience

Regards
Mehul
mehul_3
Regular Advisor

Re: Append in fbackup

I have a following entry in /etc/fstab file
/dev/vg03/lvol1 /u01 vxfs delaylog 0 2
/dev/vg03/lvol2 /u02 vxfs delaylog 0 2
/dev/vg03/lvol3 /u03 vxfs delaylog 0 2
/dev/vg03/lvol4 /u04 vxfs delaylog 0 2
/dev/vg03/lvol5 /u05 vxfs delaylog 0 2

From above, can I use tar command to copy more than 2GB and appending contents to previous backup.

Pl, correct me if I am wrong

With warm regards
Mehul
Patrick Wallek
Honored Contributor
Solution

Re: Append in fbackup

Yes, that WILL work with tar. tar allows you to use the no-rewind devices and keep appending data to the end of the tape.

You can also do that with cpio.

Just remember that you can NOT do that with fbackup because fbackup rewinds the tape completely before each backup no matter what tape device you use.