How to backup and restore more than 1 volume group


 
Thread Tools Search this Thread
Operating Systems AIX How to backup and restore more than 1 volume group
# 1  
Old 11-26-2008
How to backup and restore more than 1 volume group

Hello,

Could someone tell me if I have this correct.

If I have 2 volume groups rootvg and datavg and wish to back these up to 21 tape how do I accomplish this.

I am currently using
Code:
mksysb /dev/rmt0.1 -V
savevg -f /dev/rmt0 datavg

I think this may be overwriting the rootvg however as when I do:
Code:
restvg -l -f /dev/rmt0

I get
Code:
VOLUME GROUP:           datavg
BACKUP DATE/TIME:       Thu Nov 27 12:32:46 NZST 2008
UNAME INFO:             AIX WBSTEST 2 5 00C557D24C00
BACKUP OSLEVEL:         5.2.0.95
MAINTENANCE LEVEL:      5200-09
BACKUP SIZE (MB):       6656
SHRINK SIZE (MB):       709
VG DATA ONLY:           no

datavg:
LV NAME             TYPE       LPs   PPs   PVs  LV STATE      MOUNT POINT
loglv00             jfslog     1     1     1    closed/syncd  N/A
lv00                jfs        4     4     1    open/syncd    /u1
lv01                jfs        2     2     1    open/syncd    /u2
lv02                jfs        2     2     1    open/syncd    /uda
loglv01             jfslog     1     1     1    open/syncd    N/A

what is the best way to backup root and my data to one tape.
Also if any wants to contribute any useful backup scripts for aix that would be good too in case I miss something else, like error checking.

Cheers
# 2  
Old 11-28-2008
I don't know if it is overwritten, but just to risk it grows and at some time it will be uncomplete I would go for 2 tapes.
Or set up a NIM server and do remote mksysb and save everything else with some networking backup tool or OS tools to a remote box. Or get a DVD writer maybe... there are lot's of possibilities.
# 3  
Old 12-01-2008
i guess for the second backup session, if you want to have it on the same tape, you should use non-rewind device.
# 4  
Old 12-01-2008
Backup rootvg using mksysb

then do a new backup using savevg or backup to diffrent tapes
never try to mix your backups
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

3. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

4. AIX

Create new Volume Group

Good afternoon all, I'll probably confuse everyone as I'm a Windows guy dealing with AIX 6.1 and can't quite figure out how to do something. I have a P520 server running 2 LPARs and we have an IVM (not HMC).Within the IVM under Virtual Storage Management, when I check the Physical Volumes, I have... (4 Replies)
Discussion started by: Spellbound
4 Replies

5. AIX

Adding a Volume Group to an HACMP Resource Group?

Hi, I have a 2 node Cluster. Which is working in active/passive mode (i.e Node#1 is running and when it goes down the Node#2 takes over) Now there's this requirement that we need a mount point say /test that should be available in active node #1 and when node #1 goes down and node#2 takes... (6 Replies)
Discussion started by: aixromeo
6 Replies

6. AIX

can not export volume group

hi admins, SUR0903:/tmp/MSA_tmp#exportvg vgiWWDWHA01 0516-772 exportvg: Unable to export volume group vgiWWDWHA01 do you have any idea how to fix it? (2 Replies)
Discussion started by: hmaiida
2 Replies

7. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

8. AIX

backup & restore a volume group

Dear All, I would like to ask about saving & restoring a user defined volume group. i have a user defined volume group, named as datavg. i want to save it & to restore it into different size of physical volume. currently, datavg consist of 4 pv, three fisrt pv size are 100GB & one pv size is... (1 Reply)
Discussion started by: donybangetgitu
1 Replies

9. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

10. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies
Login or Register to Ask a Question