General discussion

Locked

Solaris Backup

By lalitsputhran ·
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.

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Gary_W In reply to Solaris Backup

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

Collapse -

by ghislain.levesque In reply to Solaris Backup

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...

Collapse -

by mrw In reply to Solaris Backup

Hi,

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

Collapse -

by ravi_vemuru In reply to Solaris Backup

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

Back to Linux Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums