Question about Smitty Fs (backup an F.S)

hi all:cool:

was just wonderin..by the way im new here..hi all:D...was just wonderin if i smitty fs backup a file system to tape if the permissions and ownership of the files and dir are retained?:confused:

o.s is AIX 5.3L

thanks all

yes the permissions are retained.

how bout the ownership sir? so no changes if restoration will be done? on the same path?

yes - ownership is retained as well.

see the backup and restore man pages for detail

oki sir thanks....

very much appreciated

hi all

is there any command that will eject the tape after the backup command

coz ill insert it in my script so i will know that the job runned becuase it ejected..aside from ther list command..

thanks all

use the tctl command. check the man page for details.

oki sir..that was fast...heheh thanks

this is my script

restore

restore 2>&1 -Tq -f /dev/rmt0 -v

wht will i add to list the total size of the files in gig ?

thanks sir

I am using in my script....

tctl -f /dev/rmt0 offline

First off, a word on organization: please post different questions/problems in different threads. Your thread will become part of the knowledge base here and basically if someone searches for "how to eject a tape" he should not have to wade through "how to back up a file system". Thanks.

To be on the save side use

this will rewind the tape and only then eject it. This way you can be sure to have only rewound tapes ejected. In theory the hardware should take care of that automatically but it doesn't hurt to be cautious.

I hope this helps.

bakunin

To eject a tape in tape drive zero:

tctl -f /dev/rmt0 rewoffl

thanks all

but im using tctl -f /dev/rmt0 offline..which i discovered through man tctl..heheh

thanks all

thanks sir