0

I have two biggest file and i am trying to take backup of them to a tape drive. the operate system is HP-UX and the directory of the tape drive is /dev/rmt/2m.

The command that i perform for backup was tar cvf /dev/rmt/2m file1 and after that the file2

But when i use the command to view the file

tar tvf /dev/rmt/2m

that command show me that i have only 1 file backup ( the last file2).

Please can you help on this. where is the problem ? The problem is on backup command or the command to view the file.

Thanx in advance

Romeo Ninov
  • 6,538
  • 1
  • 22
  • 31
endrimi
  • 1
  • 1

1 Answers1

0

Not sure for HP-UX but maybe device you use is autorewind so you should change the device or use tar on this way:

tar cvf /dev/rmt/2m file1 file2

Or you can try to use

tar cvf /dev/rmt/2mn file1
tar cvf /dev/rmt/2mn file2

as this driver is not autorewind

Romeo Ninov
  • 6,538
  • 1
  • 22
  • 31