Backup question


 
Thread Tools Search this Thread
Operating Systems AIX Backup question
# 1  
Old 03-13-2009
Backup question

Hi All!
I'm rather new in AIX so I want some comments about backup scheme I've developed to backup every part of the system. I have the following hardware:
- Power6 570 server with two VIO server and 3 LPARs
- NIM server outside (on the other Power server)
- Windows 2003 Server with Tivoli Storage Manager 5.5.2 Server and TS3100 Tape Library connected by SCSI (we have planned to backup only DB2 on the tape, because we don't have any backup software except TSM API for DB2)

VIO server 1.5.2 FP11 SP1
LPAR - AIX6.1 TL2

I have installed this software on LPAR:

LPAR1 - WebSphere Message Broker
LPAR2 - WebSphere Application Server
LPAR3 - DB2 9.1

Now the backup procedures. I included restore methods in ().
1) HMC - Back up HMC Data - backup by FTP, and then burn to DVD (restore: Install HMC from shipped (or downloaded) CD and then restore this backup into HMC)
2) VIO server:
- rootvg - backup by backupios commend into nim_resources.tar on file system mounted by NFS, then burn to DVD (Restore: by NIM server. As I've read AIX 6.1 supports install from nim_resources.tar, not only from mksysb)
- hdiskX (on them are LPARs rootvg volume groups installed) I don't see any reason and possible methods to backup them. LPAR rootvgs are backed up later. So I think it's enough.
- !Question! Should I do savevgstruct for this hdiskX? Actually I didn' get what is the use this command... As I understood, after restoring from mksysb (done by backupios) LPARs rootvg all information about other volume groups, user settings and virtual device mappings should be restored also.
3) LPAR:
- rootvg - back up by NIM server (mksysb), and burn to DVD(Restore: by restore command from NIM server)
- for WMB and WAS partitions I want backup shared volume group on which WAS profile and message broker archive files placed by savevg command, because they are simple files. Burn images to DVD. (Restore: restvg)
- for DB2. I have enable "Archive logs" for DB. Logs are backed up by TSM API to the TSM Tape Library. One time in week I want to do full DB backup. !QUESTION! Should I do incremental backup every evening? Or in case "Archive logs" I shouldn't do that? (Restore: by means DB2, firstly restore full DB backup and then restore archived logs.)

Please comment this scheme. Will be these backups enough to restore every part of system? I'm afraid that I missed something...
P.S. All rootvg volume groups are installed on internal server disks. DS4700 contains LPAR user defined volume groups. DS4700 have an option VolumeCopy enabled but I don't see any ability to use it in my scheme. Or may be I just didn't get the meaning of this feature. Is't possible to use VolumeCopy in any step in my scheme?

Any comments are appreciated!
Thank you in advance!
# 2  
Old 03-16-2009
I would focus on trying to simplify your approach, leverage your NIM/TSM server.

1. (HMC) - enable ftp on your NIM server and backup your HMC to your NIM server after each upgrade or major change.

2. (VIOS) - Script a weekly backup from your NIM server of your VIOS servers and save them to your NIM server.

3. (ROOTVG) - Script a weekly backup from your NIM server of your rootvg's on all your LPAR's and save them to your NIM server as well.

Install TSM BA on your NIM server and perform a nightly incremental backup. Make sure you have a off site copy pool setup properly.

LPAR's
1. Install TSM BA client on all your LPAR's and schedule nightly incrementals
2. Exclude any DB2 database directories.
3. You mentioned a TSM API, are you referring to TSM Data Protection for DB2 or just the Backup Archive client?

4. Most importantly
- how much data is in the DB2 database?
- how critical is the data?
- do you have a SLA you need to meet?


In all... utilize the NIM server's functionality to rebuild your rootvg's and VIOS servers. When it comes time to rebuild all you need to do is restore 1 server (NIM) and now someone can focus on rebuilding the VIOS and base OS's. Then you can turn your attention and resources (tape drive mounts) to restoring data to the LPAR's.

We perform hourly backups of our archive logs and nightly exports of our Oracle environment. I also synchronously mirror all my data to a remote location and test our DR plan on a quarterly basis.

Hopefully this makes sense, it's Monday morning and I have St. Patty's Day on my mind!
# 3  
Old 03-17-2009
Thank you for help!
Now I agree that using of TSM BA makes sense. I'll try to persuade customer to buy it. Now I'm using only TSM BA API to backup DB2. Actually we don't have to lose any data at all and SLA is supposed that we have 2 hours to restore DB. So I think that we have to do incremental backup every evening plus backup archive logs. Now I'm reading very useful book "Data recovery and high availability" (according DB2 ) so a lot of interesting things have found there Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Backup and restore question

I run a backup sucessfully: find . | backup -ivqf/dev/rmt0 I want to make sure I can restore, so I change to a test directory and try this: restore -rvqf /dev/rmt0 However, we fail with this error: New volume on /dev/rmt0: Cluster size is 51200 bytes (100 blocks). The volume number is... (3 Replies)
Discussion started by: landog
3 Replies

2. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

3. Solaris

question about restoration from backup tape (solaris 10)

I am trying to restore opt on my server. my issue is, all the partitions are saved into the same back up tape. what is the exact command to just restore /opt for example, supposing c0t0d0s7 is the partition for /opt ---------- Post updated at 01:16 PM ---------- Previous update was at... (7 Replies)
Discussion started by: feg
7 Replies

4. Solaris

A question about backup.

Hi all. There are some SPARC mashines. What method can be made from them backup (slices or entire disk) in field conditions if I have only the laptop with win xp pro and the internet? (5 Replies)
Discussion started by: wolfgang
5 Replies

5. AIX

Question on CD writer & backup

Hi All, 1. I have many AIX system here but none of them has any CD writer. I want to buy external CD writer so I can move around when needed. Can some one tell me which one they have. Please let me know exact model number so it will be easy for me to order it. I tried going to IBM web site,... (4 Replies)
Discussion started by: samnyc
4 Replies

6. AIX

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 (12 Replies)
Discussion started by: redmanshogun
12 Replies

7. AIX

Question about restoring from mksysb backup

Hello, Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies

8. UNIX for Dummies Questions & Answers

HP Unix Backup question

I am very new to Unix. We have a Unix workstation that is on a tape backup system setup by an external consultant. However, I need to know how to verify that the backup is actually running and backing up actual data. When I checked earlier this week, the log file had listed the folllowing: ... (2 Replies)
Discussion started by: lsnapp
2 Replies

9. UNIX for Dummies Questions & Answers

UNIX Backup program question

How do UNIX backup programs know which files to dump. Unlike Windows, UNIX files do not have the "archive" bit, yes? So, again, how does it know which file(s) to dump. Thanks in advance. (1 Reply)
Discussion started by: MayDHorseBwithU
1 Replies

10. UNIX for Dummies Questions & Answers

set uid question w/ backup script

this is the backup script. When i run it as a non root or authority user i get the following errors for each filesystem being backedup. It then continues to the next fs. Do i have this set up correctly? am i missing something? backup: The backup command has ended abnormally. backup: 0511-225... (2 Replies)
Discussion started by: Optimus_P
2 Replies
Login or Register to Ask a Question