Question : How to Backup Datavg(volume Group) on Tape in AIX

Dear All ,
I am very novice in the field of AIX so i require the command to backup the datavg on Tape.
I am currently using this command( Savevg -f /dev/rmt0 -V datavg)  but at somepoint it is hanging or the tape is full and it is not asking for another tape. My backup requires more than 2 tapes. I am using 32gb tape. The problem is it is not asking for another tape when the first tape is completed.Anyone help in this regard

Answer : How to Backup Datavg(volume Group) on Tape in AIX

>> Can i use Backup command for this purpose.  <<

Not in one run.

backup works either file-wise or filesystem-wise (where filesystems should be unmounted).

For filesystems -

backup -f /dev/rmt0 /dev/my_datavgvol1

You should additionally use the "-c" switch if you have cartridges instead of reels.

Further, you can have backup levels from 0 to 9, with "-0" to back up all files and "-n" to back up only those files that have been modified since the n-1 level backup.

For files -

use the "-i" flag and pipe the names of the files to be saved into the command. backup levels are not possible.

On the other hand, savevg is just the right tool to backup a complete VG in one run.

I think we should analyze why a volume change won't work for you!

wmp

Random Solutions  
 
programming4us programming4us