Discussion Locked

Solaris Backup

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Sir,
I taking Backup in solaris as ufsdump command for e.g "ufsdump 0cuf /dev/rmt/0" now after taking backup i wanted to varify the content of tape whether it has backed up all the file or not.What is the command to see the content of tape.

Thanking you.

4 replies

by gary_w

Check out the 'v' argument to ufsbackup, but I think you want the ufsrestore program. It has a 't' argument to list a table of contents.

Gary

by ghislain.levesque

ufsrestore -tvf to list what's on the tape or even ufsrestore -ivf for interactive action. From ther you could cd into all directory within that filesystem. When restoring, first cd into the top level of the directory and then run ufsrestore -xvf for a full restore or -ivf for interactive restore...

by mrw

Hi,

With your tape in the tape device, execute ufsrestore ivf /dev/rmt/0, this will allow you to view the tapes contents. Later.

by ravi_vemuru

You can view the tape contents using the following command

# mt -f /dev/rmt/0

mt stands for magnetic tape ctrl.
-f option specifies the raw tape device in this case /dev/rmt/0

rmt stands for remote magtape protocol module.

A "level 0" dump copies the entire file system to the dump_file.

It should be noted that mt is architecture sensitive. The File system must be inactive while taking back up.

Regards

ravi

This discussion is closed to new replies.