Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

other 4 question  about TSM on AIX

Posted on 2011-09-12
2
Medium Priority
?
304 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.
Suggested Courses

715 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