ADSM-L

Re: [ADSM-L] Query Backup syntax for Windows 5.2 Client

2009-03-03 10:56:11
Subject: Re: [ADSM-L] Query Backup syntax for Windows 5.2 Client
From: "Thorneycroft, Doug" <dthorneycroft AT LACSD DOT ORG>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 3 Mar 2009 07:46:56 -0800
Andy,
Today everything is working as it should. 
Yesterday, when I shut down my machine, it seemed to be
hanging. I opened task manager and found several cmd.exe 
processes sitting there that I had to force. I don't know if there was something
going on with one of these sessions that was messing with 
me, or if more likely, I was just a little brain dead, and 
kept inserting typo's into the command line. For now, I'll
just pretend that it was the machine and not me.
Thanks for the help.
Doug



-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
Andrew Raibeck
Sent: Monday, March 02, 2009 11:58 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Query Backup syntax for Windows 5.2 Client


OK... so that shows it can be made to work, but I'm still puzzled why the
batch mode does not work.

It would be interesting to see the results of the query when you run from
both batch mode and loop mode (complete copy & paste of the output, not
just selected lines; except for lots & lots of file entries on successful
query, the entire list is not necessary).

Best regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Product Development
Level 3 Team Lead
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

IBM Tivoli Storage Manager support web page:
http://www.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html


The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.

"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 03/02/2009
01:55:12 PM:

> [image removed]
>
> Re: Query Backup syntax for Windows 5.2 Client
>
> Thorneycroft, Doug
>
> to:
>
> ADSM-L
>
> 03/02/2009 02:06 PM
>
> Sent by:
>
> "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> Please respond to "ADSM: Dist Stor Manager"
>
> Andy,
> Thanks Andy, it works if I start dsmc first, the run the query
>
>
> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> Andrew Raibeck
> Sent: Monday, March 02, 2009 10:34 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Query Backup syntax for Windows 5.2 Client
>
>
> Hi Doug,
>
> I'm not sure why you are seeing what you are seeing. It should work.
>
> Try running "dsmc -nod=ct100". Once you are in the TSM command prompt, do
a
> QUERY SESSION to make sure the node name in session is indeed CT100.
>
> Next, do a "q fi" command to see if the \\ct120 shares show up.
>
> If they do, try "q ba \\ct120\ -su=y" to see if *any* files show up.
>
> What version of the client was used to back up the \\ct120 files? Was it
a
> later version than 5.2?
>
> Best regards,
>
> Andy
>
> Andy Raibeck
> IBM Software Group
> Tivoli Storage Manager Client Product Development
> Level 3 Team Lead
> Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> Internet e-mail: storman AT us.ibm DOT com
>
> IBM Tivoli Storage Manager support web page:
> http://www.ibm.com/software/sysmgmt/products/support/
> IBMTivoliStorageManager.html
>
>
> The only dumb question is the one that goes unasked.
> The command line is your friend.
> "Good enough" is the enemy of excellence.
>
> "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 03/02/2009
> 01:02:02 PM:
>
> > [image removed]
> >
> > Re: Query Backup syntax for Windows 5.2 Client
> >
> > Thorneycroft, Doug
> >
> > to:
> >
> > ADSM-L
> >
> > 03/02/2009 01:06 PM
> >
> > Sent by:
> >
> > "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
> >
> > Please respond to "ADSM: Dist Stor Manager"
> >
> > Andy, I tried your suggestions with the same results.
> > I'm running the commands from my desktop, not from the
> > server that is performing the backup. That is why I'm using the -
> > nodename option.
> > (the client level is the same on both machines)
> >
> > I went to source machine (CT100) and the command worked fine, for both
> the
> > drive local to CT100 and the remote share backed up by CT100.
> >
> > So, for some reason, when using the -nodename option, I can only view
> > the drives that were local to node I'm working with when using the Cli,
> > but if I start the GUI, with the -nodename option, I can work with them
> all.
> >
> >
> > -----Original Message-----
> > From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf 
> > Of
> > Andrew Raibeck
> > Sent: Monday, March 02, 2009 9:42 AM
> > To: ADSM-L AT VM.MARIST DOT EDU
> > Subject: Re: Query Backup syntax for Windows 5.2 Client
> >
> >
> > Ah, I reread the original post, and I see it is necessary to use the
> > -nodename option in this case. :-)
> >
> > Best regards,
> >
> > Andy
> >
> > Andy Raibeck
> > IBM Software Group
> > Tivoli Storage Manager Client Product Development
> > Level 3 Team Lead
> > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > Internet e-mail: storman AT us.ibm DOT com
> >
> > IBM Tivoli Storage Manager support web page:
> > http://www.ibm.com/software/sysmgmt/products/support/
> > IBMTivoliStorageManager.html
> >
> >
> > The only dumb question is the one that goes unasked.
> > The command line is your friend.
> > "Good enough" is the enemy of excellence.
> >
> > "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 03/02/2009
> > 12:31:39 PM:
> >
> > > [image removed]
> > >
> > > Re: Query Backup syntax for Windows 5.2 Client
> > >
> > > Andrew Raibeck
> > >
> > > to:
> > >
> > > ADSM-L
> > >
> > > 03/02/2009 12:34 PM
> > >
> > > Sent by:
> > >
> > > "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
> > >
> > > Please respond to "ADSM: Dist Stor Manager"
> > >
> > > How about this?
> > >
> > >    dsmc q ba \\ct120\apps\ -nod=ct100
> > >
> > > Hints:
> > >
> > > a) Put your hyphenated options at the end of the command, e.g., after
> the
> > > file spec as in my example above.
> > >
> > > b) If you mean "all files", use "*" instead of "*.*". Otherwise "*.*"
> > will
> > > include only those files that have an extenstion. For example, a file
> > named
> > > \\ct120\apps\somefile will not be displayed when using "*.*".
> > >
> > > c) If you mean "all files", you can omit the "*" altogether, and just
> end
> > > the file spec with the backslash (as in my example above).
> > >
> > > d) You only need -nodename if you need to override the client options
> > file
> > > (or default) nodename.
> > >
> > > Best regards,
> > >
> > > Andy
> > >
> > > Andy Raibeck
> > > IBM Software Group
> > > Tivoli Storage Manager Client Product Development
> > > Level 3 Team Lead
> > > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > > Internet e-mail: storman AT us.ibm DOT com
> > >
> > > IBM Tivoli Storage Manager support web page:
> > > http://www.ibm.com/software/sysmgmt/products/support/
> > > IBMTivoliStorageManager.html
> > >
> > >
> > > The only dumb question is the one that goes unasked.
> > > The command line is your friend.
> > > "Good enough" is the enemy of excellence.
> > >
> > > "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 
> > > 03/02/2009
> > > 12:14:32 PM:
> > >
> > > > [image removed]
> > > >
> > > > Query Backup syntax for Windows 5.2 Client
> > > >
> > > > Thorneycroft, Doug
> > > >
> > > > to:
> > > >
> > > > ADSM-L
> > > >
> > > > 03/02/2009 12:21 PM
> > > >
> > > > Sent by:
> > > >
> > > > "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
> > > >
> > > > Please respond to "ADSM: Dist Stor Manager"
> > > >
> > > > Hello,
> > > > I'm trying to issue a query backup for a filespace that is backed
up
> > > > as a UNC, and can't
> > > > get the syntax right. The filespace is a shared drive on a remote
> > > > drive using the UNC in the domain
> > > > statement.
> > > >
> > > > Backup is run on Node CT100 the share I'm trying to query is on
CT120
> > > >
> > > > the domain statement for CT100 is:
> > > > DOMain ALL-LOCAL
> > > > DOMain \\ct120\apps
> > > > DOMain \\ct120\images
> > > >
> > > > When I run
> > > > dsmc q backup -nodename=CT100 '{\\CT100\d$}*.*' Everything works
fine
> > > >
> > > > When I run"\
> > > > dsmc q backup -nodename=CT100 '{\\CT120\ct120\apps}*.*'
> > > > or
> > > > dsmc q backup -nodename=CT100 '{\\CT120\\ct120\apps}*.*'
> > > >
> > > > I get "ANS1081E Invalid search file specification"
> > > >
> > > > There is no problem viewing or restoring the files from the GUI, I
> just
> > > > can't get the command line syntax right.