1825805 Members
2902 Online
109687 Solutions
New Discussion

Re: TAR

 
prakash singh
Occasional Contributor

TAR

Hi ,
i have HP UX 11i . I want keep my old files on tape on next backup. i am using tar cvf command which deletes old backup files from tape and copies new.can anyone help me what command should i use to keep my old and new files on tape.
Thanx
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: TAR

Hi,

No not really, tar is a very simple backup command. If your filesystem is large enough, you could restore the files from tape, add the to-backup files and and create a new-tar tape.

Otherwise I would advice you to have a look at more proffessinal back-up applications like HP Data Protector/EMC networker.

Regards,
Robert-Jan
Victor Fridyev
Honored Contributor

Re: TAR

Hi,

Theoretically you can use the following way:

tar cvf /dev/rmt/0mn
Please put your attention on the tape file name with n at the end. This is "no-rewind" file. After a backup completion tape-drive does not rewind the tape to its beginning. Such a backup permits you to store more than one file on a tape, but you have to manage a lookup for a needed file on the tape by yourself by mt command and End-of-The_Tape as well. If you are able to do this, go ahead, otherwise, as Robert-Jan mentione, you have to use a smarter SW.

HTH
Robert-Jan is right
Entities are not to be multiplied beyond necessity - RTFM