Solved

other 4 question  about TSM on AIX

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 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