Solved

other 4 question  about TSM on AIX

Posted on 2011-09-12
2
296 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
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

762 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

26 Experts available now in Live!

Get 1:1 Help Now