Operating System - HP-UX
1748123 Members
3288 Online
108758 Solutions
New Discussion юеВ

Re: How to append files to the same backup tape

 
SOLVED
Go to solution
muhamad_ramli
New Member

How to append files to the same backup tape

Dear All,

I am new to HP-UX, I have question about how to append files to the same backup tape. May I have example command and script how to do it?


Thank you,
Ramli
10 REPLIES 10
Suraj K Sankari
Honored Contributor
Solution

Re: How to append files to the same backup tape

HI,

Please tell me how you take backup now ?
then we can suggest how you can append data into tape.

Suraj
muhamad_ramli
New Member

Re: How to append files to the same backup tape

HI Suraj,

I take backup to tape using cpio.


Thank you,
Ramli
Kenan Erdey
Honored Contributor

Re: How to append files to the same backup tape

hi,

as i know cpio can't append, tar can do.

Kenan.
Computers have lots of memory but no imagination
Dennis Handly
Acclaimed Contributor

Re: How to append files to the same backup tape

How do you expect to be able to read these files that you appended to the end?
It is far better to use another tape than to append to an existing tape and possibly destroy the whole contents.

If you know how to count and have a massive database of which tape and how many times you have appended files to the end of each tape, you could use mt(1) to position the tape to the end, then you can invoke cpio.
mt -f tape-name fsf count

You would have to use a norewind device.

To read them back, you would have to loop for each fileset you added to the end of your tape.
Suraj K Sankari
Honored Contributor

Re: How to append files to the same backup tape

Hi,

I also know that with cpio you can't append your tape you have to use another tape or you need to used other command like tar, vxdump, fbackup.

Suraj
Dennis Handly
Acclaimed Contributor

Re: How to append files to the same backup tape

>Suraj: you need to used other command like tar, vxdump, fbackup.

Neither tar nor fbackup support appending to tapes.
Suraj K Sankari
Honored Contributor

Re: How to append files to the same backup tape

Hi Dennis,

My concern about incremental backups.

Suraj
muhamad_ramli
New Member

Re: How to append files to the same backup tape

Hi All,

Thanks much for the comment and input.
so, what is the best strategy to append files to the same backup tape using various backup utility provided by HP, either full or incremental backup?

Thank you,
Ramli


Dennis Handly
Acclaimed Contributor

Re: How to append files to the same backup tape

>what is the best strategy to append files to the same backup tape using various backup utility provided by HP, either full or incremental backup?

The best strategy is to NOT do this.
The only backup utilities HP-UX has is fbackup and Data Protector. The former doesn't do this.
(cpio, tar and pax aren't enterprise level backup utilities.)