Solved

other 4 question  about TSM on AIX

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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.:

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