1833162 Members
3063 Online
110051 Solutions
New Discussion

append to backup

 
YOGI_3
Frequent Advisor

append to backup

hi all..
m taking backup by tar, how to append the new backup if tape device is not full.
And how to check memory status of tape device.
There is never a wrong time to do the right things
6 REPLIES 6
Trond Haugen
Honored Contributor

Re: append to backup

tar -r .... will append.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
HGN
Honored Contributor

Re: append to backup

Hi

You can use the -r option but that will not append the tape

check the man pages
r Add the named file to the end of the archive. The same blocking factor used to create the archive must be used to append to it. This option cannot be used if the archive is a tape.

Rgds

HGN
Peter Godron
Honored Contributor

Re: append to backup

Yogi,
move the tape past the end of the pevious backup
mt -f fsf
then use your normal tar command to create the second backup file.
Regards
harry d brown jr
Honored Contributor

Re: append to backup

Look into gtar: http://hpux.ee.ualberta.ca/hppd/hpux/Gnu/tar-1.15/

live free or die
harry d brown jr
Live Free or Die
Devender Khatana
Honored Contributor

Re: append to backup

Hi,

Please see the link in one of my earlier posts.

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

HTH,
Devender
Impossible itself mentions "I m possible"
Peter Godron
Honored Contributor

Re: append to backup

Yogi,
did these answers resolve your problem?
If so, could you please identify the solution and close the thread.
If not, can you please update.
Many Thanks