Operating System - HP-UX
1833689 Members
3952 Online
110062 Solutions
New Discussion

Comparing the tape backup with source mountpoint.

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

Comparing the tape backup with source mountpoint.

Dear All

I'm taking backup on tape using tar command. After taking backup I want to compare the contents and the size of the backup with the source mount point. please tell me the command for the same and any additional procedures. Secondly can I check the size of the backup on tape in mega bytes? Please help

Thanks in advance

Rahul...........
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: Comparing the tape backup with source mountpoint.

There is no direct command that will do that.

You can do tar listing and compare it.

tar -tvf /dev/rmt/0m
ll /mount_point and compare.
There is no substitute to HARDWORK
Peter Godron
Honored Contributor

Re: Comparing the tape backup with source mountpoint.

Rahul,
tar -tvf would give you the list of files in the tar archive. You could then run a script that searches for each filename on your mount point. The size of the archived is also returned by tar -tvf.
Rahul Pednekar
Frequent Advisor

Re: Comparing the tape backup with source mountpoint.

thanx