Options for AIX server backups

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Options for AIX server backups
# 1  
Old 04-27-2018
Options for AIX server backups

Hello, I'm new to this forum.

Forgive a question that may have been asked, but I would like to get advice on options for backups of an AIX server.

The AIX server in question has about 2TB of storage, with 3 Oracle databases configured on it

We're currently using tar backups to tape, LTO 5 tapes, using scripts that were created over 20 years ago when our server environment was very different.

I'm spearheading a project to revise our backup strategy here. Our senior DBA has been testing rman, since we have Oracle configured on our IBM p740 and p720 servers.

As I said, we're currently using backups to tape, but we'd like to explore disk backups.

I've downloaded an evaluation version of the Storix SBAdmin tool, but haven't installed it as of yet. It looks promising.

I've done some research and found options like CommVault, NetBackup. TSM is another options.

Any other suggestions on backing up/restoring our AIX servers?

Again, forgive a stupid question.

Thank you.
# 2  
Old 04-30-2018
Ignoring a possible HA cluster or Oracle RAC cluster for failover, you have several things to consider, at least:-
  • Operating system recovery
  • Application/Data file recovery
  • Database recovery
My basic opinions are listed below.


Operating system recovery
AIX is great because of the built in mksysb command, the authors of which, I'm informed, went on to write the Storix product which is why that is so good and is now available for all sorts of other platforms doing an excellent job. If your server has been laid out sensibly, you will have just the basic minimum to run the OS in the root volume group, rootvg and perhaps just other recovery software. Keep therootvg small or at least empty, because mksysb will try to write the whole thing out to tape/disk/DVD when you call it and it must fit onto one item of removable media, whatever that is. Recovery is from the firmware prompts or perhaps your contracted DR site (if you have one) will do that for you. It will rebuild an OS that matches your current one, including network addresses, so be careful if you try to recover to a live environment.

Application/Data file recover
The is where your other filesystems would be saved/recovered. Using tar is probably adequate for many, but does not give you all the catalog and history information that a good tool will. There are many, and in my time I've used CA-Arcserve/CA-Brightstore; Netbackup; Legato; TSM; CommVault and others. It is a personal preference on how you get on with them and how easy you find it to recover the catalog so you can actually recover your data. If the server with the catalog is lost, can you retrieve it from the latest tape? How do you know which tape? (Paper listings of tape write dates in the off-site bag are very useful here!)
This should be used to bring back all your filesystem data except databases and should also backup the contents of rootvg, but be careful about restoring over with those bits. Usually you have to have some sort of build process to recreate your filesystems ready for your file recovery to take place. You may need to script up create decks are regenerate them frequently. A good place to store them is in the rootvg so that an OS recovery will give you something to work with. Of course, AIX is actually better than that, so you can backup a volume group structure withy no data and put the (pretty small) file within rootvg so your rebuild is more a case of recovering an empty volume group definition (and therefore all the logical volumes and filesystems) by giving it a list of disk physical volumes to rebuild it on. I think that it even mounts them for you. It is good practice to ensure that filesystems from different volume groups are not dependant on each other. If they are, then the recovery needs to be correctly sequenced else things will go awry.

You may also have to consider software licence keys. If there is a licencing process to follow, you may be as well to store the keys in files in the rootvg too. I know I'm yet again breaking my rule of keeping rootvg minimal, but these could be critical to a recovery and are therefore worth it.

Database recovery
Inevitably this should be with the tools supplied with the database. Oracle has rman, Informix has it's own, DB2 has another one etc. and you would be foolish to try to create your own. It's all down to catalogs really. You need to be sure that you will have the latest information for your database recovery to work from, else you will recovery to the wrong point in time and have to start again. I've learnt this the hard way Smilie

All that said, backups to disk, if you have the space, can be very good. They are generally quicker than writing to external/removable media, however if your server is lost it can be very difficult, if not impossible, to recreate them so you have to decide what is a 'nice to have' and what is practical in against the risks of disk/server loss.

Why not explore having both? That way you have a potentially quicker recovery from an error and protections from a loss of hardware.


It's become rather a brain dump, but I hope that there is something usul in here to help.


Kind regards,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Best method to encrypt AIX LTO6 tape backups?

Hello, I need to be able to encrypt LTO tapes that our AIX writes to for backups. We have a tape library (IBM TS3100) that our AIX host uses to write to LTO6 tapes. We then take those tapes off-site and restore to another AIX system using a 3580-H6S LTO6 tape drive - this is a very simple... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

2. UNIX and Linux Applications

UNIX equivalent of windows terminal server options?

I want to replace Windows terminal server mostly due to cost reasons license cost for 2100 users goes out of roof. The end-user is all windows but I want a jump server that is UNIX based , I have some experience with VNC but I don't want options exists in UNIX to run a terminal services for 2100... (10 Replies)
Discussion started by: lazerz
10 Replies

3. AIX

AIX available cifs mount options

Hi, I can't find any documentation of all available mount options of mount -v cifs Unfortunately you can specify any fantasy options, no complains, and the mount command shows this option In particular I want to know if there is a possibility to completely disable cifs caching in aix,... (3 Replies)
Discussion started by: funksen
3 Replies

4. Red Hat

Commands with options hang server

Hello Folks, when i run simple ls command i am getting the output properly. See below: # ls ecapPlat.err FileMover.log.2 FileScrubber.log.1 MeasServer.log mysentfile surv.log ecapPlat.log FileMover.log.3 FileScrubber.log.2 MeasServer.log.1 netConfig.err TimeServer.log FileMover.log... (1 Reply)
Discussion started by: manuswami
1 Replies

5. UNIX for Dummies Questions & Answers

List of 'if -f' options - AIX / Korn Shell

Hi all, Can someone point me in the right direction for a manual on the various statement options for 'if'. Basically I have a piece of code which says: if ] and I wondered what the -f was. I know the '!' means not equal.. As usual any help much appreciated.. (5 Replies)
Discussion started by: Grueben
5 Replies

6. AIX

AIX 6.1 Backups

Hello, I've got multiple AIX LPARs running on VIOS, within a blade environment. I need to dump a mksysb backup to backup rootvg and a couple of other volume groups. mksysb -i "destination"; works however I'd like to make sure its being done correctly. on the other volume groups, ive... (2 Replies)
Discussion started by: ollie01
2 Replies

7. AIX

Any hope to get lp options like the following to work on AIX (6.1)?

Greetings Aix gurus, I have been appointed the task to port my SAS environment on HP-UX to AIX... I have been able to solve most issues but I am stuck with the following lines (these were easy to find, since in shell scripts but I found out that there are plenty more and encapsulated in SAS... (1 Reply)
Discussion started by: vbe
1 Replies

8. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

9. Shell Programming and Scripting

Mount options - AIX

I'm trying to write a script to verify that file systems mounted properly after a reboot or a script that any system admin can run to verify that all file systems are mounted properly. With HP-UX, I can run a mount -aQ and it will mount file systems not already mounted and report back any... (1 Reply)
Discussion started by: DRPearce
1 Replies

10. UNIX for Dummies Questions & Answers

Problem with Pax command and backups on AIX HP-UX and IRIX

can someone tell me in details what this command does: pax -rpe -f /dev/rmt0 -s:^/home:/temp/test:g The definition given in the source i got this from says that command is used to restore the files from /home to /tmp/test. now, i know there's goto be a deeper explanation than that. can... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question