Solved

aix ibm backup utilities

Posted on 2014-01-13
5
1,059 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 62

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 62

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

751 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