Solved

other 4 question  about TSM on AIX

Posted on 2011-09-12
2
303 Views
Last Modified: 2013-11-17
ok,

here I go again (like whitesnake song :-))

I need this info on the client side (not from the server), is possible of course:
1- When was the last successful backup date?

2- A list of all files of the last backup (incremental or not, just the last backup). I've noted that some AIXs use dsmc sched and others use a ksh script to make the daily incremental backup.

3- All the files that are stored on the TSM server, let say: /etc/hosts. Not only the last one . I believe you can backup multiples versions regarding the class on the TSM. The "famous TSM-GUY" says TSM has some management clases, 7 days, 15 days, and so on.

4- The log file (from the client side) of the last backup.

Thanks!!
0
Comment
Question by:sminfo
[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 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36522983
... Though I keep searching for an answer
I never seem to find what I'm looking for ...


No, that's not true!

Here you go:

Issue "dsmc" on the client. You'll get a command prompt.

1) q files

You'll get a list of the filesystems (TSM: "filespaces") known to TSM, including the last Incremental date/time

2) This works only on a per-filesystem basis. Take the filespace you're interested in from the output of (1) above and issue

q backup /filespace/name/* -subdir=yes
e.g.
q backup /nim/* -subdir=yes

You'll get a list of backed up files, including date and time.

3) Similar as above, different parameter:

q backup /file/name -inact
e.g.
q backup /etc/hosts  -inact

The second-to-last column shows "A" (active version, most recent) or "I" (inactive version, an older version of a file)

Should you get more output than would fit on a single screen add "-scrollprompt=yes" to your command.

4) The location and name of the scheduler's logfile is configured in /usr/tivoli/tsm/client/ba/bin/dsm.sys as "SCHEDLOGNAME"
The general error log is configured as "ERRORLOGNAME" there. Both default to /usr/tivoli/tsm/client/ba/bin/dsmsched.log and .../dsmerror.log.

There is no automatic logging to a file when the scheduler is not used.
So consult the respective script if (and if yes, where) it stores a log.

... 'cause I know what it means
to walk along the lonely street of dreams ...


wmp



0
 

Author Closing Comment

by:sminfo
ID: 36523777
.......  And here I go again on my own
Going down the only road i've ever known .........

nice song!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

624 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