cancel
Showing results for 
Search instead for 
Did you mean: 

Backup to tape

SOLVED
Go to solution
Joven Bulawit
Occasional Contributor

Backup to tape

Hey Guys! I did some backup to a DDS tape using tar but im not sure if it is successfully save.

#tar -cvf /dev/rmt/0m /whkdc/tar
a /whkdc/tar/lost+found/.fsadm 0 blocks
a /whkdc/tar/whkdc_prg.tar.gz 4082897 blocks

Then I checked:
#tar -tvf /dev/rmt/0m
rwxr-xr-x 0/0 0 Jan 11 11:34 2005 /whkdc/tar/
rwxr-xr-x 0/0 0 Jan 11 11:33 2005 /whkdc/tar/lost+found/
rw------- 0/3 0 Jan 11 11:33 2005 /whkdc/tar/lost+found/.fsadm
rw-r--r-- 0/3 2090442902 Jan 11 10:55 2005 /whkdc/tar/whkdc_prg.tar.gz

All files were there but what does 0/3 means? Is my backup successful? Please help. Thanks


6 REPLIES
Ranjith_5
Honored Contributor

Re: Backup to tape

Hi Joven,

If you are able to read the tape , in most cases the backup is perfect.

regards,
Syam
Peter Godron
Honored Contributor
Solution

Re: Backup to tape

Joven,
the 0/0 and 0/3 are the user identifiers of the files you backed up.
ls -l /whkdc/tar/
and
ls -l /whkdc/tar/whkdc_prg.tar.gz
will show same user as owner, but different group.
Regards
Dexter Filmore
Honored Contributor

Re: Backup to tape

If your backup is small, try restoring it to a temporary directory - after all, this is why we backup files (so that we can restore them when needed).
Nguyen Anh Tien
Honored Contributor

Re: Backup to tape

if result of "tar -tvf /dev/rmt/0m" is as you saying
=====
rwxr-xr-x 0/0 0 Jan 11 11:34 2005 /whkdc/tar/
rwxr-xr-x 0/0 0 Jan 11 11:33 2005 /whkdc/tar/lost+found/
rw------- 0/3 0 Jan 11 11:33 2005 /whkdc/tar/lost+found/.fsadm
rw-r--r-- 0/3 2090442902 Jan 11 10:55 2005 /whkdc/tar/whkdc_prg.tar.gz
=====
It means backup is OK.
0/0,0/3 is user identify, that specify owner of files when you restore.
tienna
HP is simple
Joven Bulawit
Occasional Contributor

Re: Backup to tape

Thank you for all your responses!
Joven Bulawit
Occasional Contributor

Re: Backup to tape

It means backup is OK.
0/0,0/3 is user identify, that specify owner of files when you restore.