Solved

aix ibm backup utilities

Posted on 2014-01-13
5
1,038 Views
Last Modified: 2014-01-28
Are there any default backup utilities for aix ibm systems, i.e. those built into the OS? And are there any useful tools/techniques to identify ie missing backups, areas of disk not backed up, no recent backup, failed backups etc etc, as you can do with most database software...

If you had to determine what was being backed up on an AIX system, using default tools, how would you do this?
0
Comment
Question by:pma111
  • 2
  • 2
5 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 167 total points
ID: 39776601
AIX doesn't have a really comprehensive backup tool.

There is "backup", of course. This tool can backup files by name or by filesystem.

See "man backup" for the various flags and options. To make online FS backups you can use the "split copy" ("snapshot") feature of AIX 5 and up. Output can go to tape/cartridge or to stdout so you can pipe it to e.g. "dd" or "tar" etc.
See "smitty backfilesys" and "smitty backsnap".

"backup" maintains a file "/etc/dumpdates" to enable incremental backups (Note: you must use the "-u" flag of "backup" to make this work). The "/etc/dumpdates" file contains  the raw device name of the file system and the time, date, and level of the backup, so this could serve as a backup history. This is the only source of information, so the needs you mentioned in the Q can only be met in a very rudimentary way.

I'd suggest looking for commercial backup solutions, such as TSM, or CA Arcserve or EMC Networker etc. There are also free tols like Bacula (client only) etc.

By the way, the counterpart of "backup" is "restore", as one would expect.

I think you're aware that AIX has all those tools like tar, dd, cpio, but I'm not inclined to call these a "backup solution", because quite a lot of homemade scripting is always required to make them work in a reliable and comprehensive way.
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 167 total points
ID: 39777348
Only  systembackup for aix is mksysb that makes bootable bakckup.
Then you need to back up other volume groups
If you use raw volumes then you need to back them up from database using them.

If you want them all in one there is Tivoli Storage Manager (100$/year/client)
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39777411
Well, alright,

I didn't mention mksysb because I assumed that pma111 was asking for user data backup.

But it's correct, of course, that mksysb is a tool everyone should know (and use!) when it comes to AIX system backups.

"man mksysb" for more.

Use  "smitty mksysb" (backup the system to tape/file/UDFS) or "smitty mkdvd" (backup to DVD).
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 166 total points
ID: 39794014
Please check the following link, showing backup AIX OS, data and restore AIX OS, data using AIX commands.
https://www.ibm.com/developerworks/community/blogs/mehdi/resource/IBMexam104studyguide.pdf?lang=en   [written by Mehdi Salehi]
Please note, mksysb only backs up files and directories in rootvg that are mounted.
0
 
LVL 61

Expert Comment

by:gheist
ID: 39794202
yes, you need to back up other volume groups and raw (under DBs or not mounted) volumes separately. That lands you with 3 tapes minimum.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now