ADSM-L

Re: Command line restore not working

2005-03-29 12:11:42
Subject: Re: Command line restore not working
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 29 Mar 2005 10:11:19 -0700
OK.... what about my other question (are you sure backups exist for the
files in question?)

Try running the client as root. See if that makes a difference. Also try:

   dsmc q ba /u02/ -su=y -ina

>From the Admin client, run

   query occupancy spromer07 /u02

to see how many files the server thinks are backed up.

Regards,

Andy

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

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 2005-03-29
09:53:44:

> Andrew,
>
> I get the following when I typed in that command
>
> $ dsmc query filespace
>
> Tivoli Storage Manager
> Command Line Backup/Archive Client Interface - Version 5, Release 1,
Level
> 5.0
> (C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
>
> Node Name: SPROMER07
> Session established with server TSM: AIX-RS/6000
>   Server Version 5, Release 3, Level 0.1
>   Data compression forced off by the server
>   Server date/time: 03/29/05   11:48:44  Last access: 03/29/05 11:35:30
>
> Num     Last Incr Date      Type    File Space Name
> ---     --------------      ----    ---------------
>   1   03/28/05   02:10:01   JFS     /
>   2   03/28/05   02:10:57   JFS     /home
>   3   03/28/05   02:10:59   JFS     /opt
>   4   03/28/05   02:51:00   JFS     /u01
>   5   03/28/05   03:32:31   JFS     /u02
>   6   03/28/05   02:10:57   JFS     /usr
>   7   03/28/05   02:10:56   JFS     /var
>
>
>
>
> Andrew Raibeck wrote:
>
> > Are you certain that backups exist for this file?
> >
> > What is the output of:
> >
> >    dsmc query filespace
> >
> > Regards,
> >
> > Andy
> >
> > Andy Raibeck
> > IBM Software Group
> > Tivoli Storage Manager Client Development
> > Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
> > Internet e-mail: storman AT us.ibm DOT com
> >
> > 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 2005-03-29
> > 09:28:46:
> >
> > > Thanks Richard,
> > >
> > > Mark, thanks to you also I tried what you put in but still no luck
> > > same message
> > >
> > >
> > > $ dsmc rest "/u02/exports/prga/*" -subdir=yes -pick -ina
> > >
> > >
> > > Tivoli Storage Manager
> > > Command Line Backup/Archive Client Interface - Version 5, Release 1,
> > Level
> > > 5.0
> > > (C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
> > >
> > > Restore function invoked.
> > >
> > > Node Name: xxxxxxx
> > > Session established with server TSM: AIX-RS/6000
> > >   Server Version 5, Release 3, Level 0.1
> > >   Data compression forced off by the server
> > >   Server date/time: 03/29/05   11:23:45  Last access: 03/29/05
10:25:23
> > >
> > > ANS1302E No objects on server match query
> > >
> > >
> > >
> > > "Stapleton, Mark" wrote:
> > >
> > > > You might try
> > > >
> > > >   dsmc rest "/u02/exports/prga/*" -subdir=yes -pick -ina
> > > >
> > > > --
> > > > Mark Stapleton (stapleton AT berbee DOT com)
> > > > Office 262.521.5627
> > > >
> > > >
> > > > >-----Original Message-----
> > > > >From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On
> > > > >Behalf Of Timothy Hughes
> > > > >Sent: Tuesday, March 29, 2005 9:29 AM
> > > > >To: ADSM-L AT VM.MARIST DOT EDU
> > > > >Subject: Re: Command line restore not working
> > > > >
> > > > >OK Craig, I did the following so I could pick the files
> > > > >that I would like to restore but received the same message.
> > > > >
> > > > >
> > > > >$ dsmc rest "/u02/exports/prga/*" -pick -inactive=yes
> > > > >
> > > > >
> > > > >
> > > > >Tivoli Storage Manager
> > > > >Command Line Backup/Archive Client Interface - Version 5,
> > > > >Release 1, Level 5.0
> > > > >(C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
> > > > >
> > > > >Restore function invoked.
> > > > >
> > > > >Node Name: XXXXXXX
> > > > >Session established with server TSM: AIX-RS/6000
> > > > >  Server Version 5, Release 3, Level 0.1
> > > > >  Data compression forced off by the server
> > > > >  Server date/time: 03/29/05   10:25:23  Last access: 03/29/05
> > > > >  10:18:31
> > > > >
> > > > >ANS1302E No objects on server match query
> > > > >
> > > > >
> > > > >
> > > > >"Riley, Craig" wrote:
> > > > >
> > > > >> You are going to want to use the full path to the object
> > > > >being restored.
> > > > >>
> > > > >> Craig Riley
> > > > >> Children's Hospital in Denver
> > > > >>
> > > > >> -----Original Message-----
> > > > >> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]
> > > > >On Behalf Of
> > > > >> Timothy Hughes
> > > > >> Sent: Tuesday, March 29, 2005 8:14 AM
> > > > >> To: ADSM-L AT VM.MARIST DOT EDU
> > > > >> Subject: Command line restore not working
> > > > >>
> > > > >> Hello,
> > > > >>
> > > > >> I am now trying to restore a inactive file using the command
line.
> > > > >> but its no working. I am getting the following
> > > > >>
> > > > >> $ dsmc rest prga.log -inactive -pick
> > > > >>
> > > > >> Tivoli Storage Manager
> > > > >> Command Line Backup/Archive Client Interface - Version 5,
Release
> > 1,
> > > > >> Level 5.0
> > > > >> (C) Copyright IBM Corporation 1990, 2002 All Rights Reserved.
> > > > >>
> > > > >> Restore function invoked.
> > > > >>
> > > > >> Node Name: xxxxxxxx
> > > > >> Session established with server TSM: AIX-RS/6000
> > > > >>   Server Version 5, Release 3, Level 0.1
> > > > >>   Data compression forced off by the server
> > > > >>   Server date/time: 03/29/05   10:09:01  Last access: 03/29/05
> > > > >> 09:47:01
> > > > >>
> > > > >> ANS1302E No objects on server match query
> > > > >>
> > > > >> TSM AIX client version 5.1.5
> > > > >> TSM 5.3.0.1
> > > > >>
> > > > >> Anyone ever had this problem
> > > > >>
> > > > >> Thanks for any help!
> > > > >>
> > > > >> DISCLAIMER:
> > > > >> CONFIDENTIALITY NOTICE:  The information contained in this
> > > > >message is legally privileged and confidential information
> > > > >intended for the use of the individual or entity named above.
> > > > >If the reader of this message is not the intended recipient,
> > > > >or the employee or agent responsible to deliver it to the
> > > > >intended recipient, you are hereby notified that any release,
> > > > >dissemination, distribution, or copying of this communication
> > > > >is strictly prohibited.  If you have received this
> > > > >communication in error, please notify the author immediately
> > > > >by replying to this message and delete the original message.
Thank
> > you.
> > > > >