Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2011
    Posts
    306
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default Querying the backup and restoring it

    Hi all,

    querying the backups of a client node from client command line and restoring the data has always been a trouble for me.

    Trying to query files with "inactive" option but couldn't see the inactive versions only active versions.
    and when i restore active version, there is no data in the restore ?

    Code:
    # dsmc q backup -inactive -subdir=yes /Test/Test1/Test2
    
     Size        Backup Date                Mgmt Class           A/I File
               ----        -----------                ----------           --- ----
     2,048  B  07/09/2012 05:42:06   STANDARD             A  /Test/Test1/Test2

    How to query inactive backups and see the details of the backups without restore ?
    Thanks in advance!

  2. #2
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    271
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Hi

    Can you try this?

    # dsmc q backup -inactive -subdir=yes /Test/Test1/Test2/*
    -= Trident =-

  3. #3
    Member
    Join Date
    Feb 2011
    Posts
    306
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default

    Hi Trident,

    Tried below but no luck
    Code:
    #dsmc q backup -inactive -subdir=yes "/Test/Test1/Test2/*"
    
    ANS1092W No files matching search criteria were found
    and then tried with single quotes but same result
    Code:
    #dsmc q backup -inactive -subdir=yes '/Test/Test1/Test2/*'
    
    ANS1092W No files matching search criteria were found
    why TSM is not showing any inactive files ?

  4. #4
    Senior Member Trident's Avatar
    Join Date
    Apr 2007
    Location
    Oslo, Norway
    Posts
    271
    Thanks
    2
    Thanked 19 Times in 19 Posts

    Default

    Hi,

    If there are multiple filespaces covering same directory over time, you will have to include the filepsace name in your query.

    Sample:

    q file gives

    /usr
    /opt
    /Test
    /Test/Test1


    Then try one of these

    dsmc q backup {/Test}/Test1/Test2/* -ina -subdir=yes
    dsmc q backup {/Test/Test1}/Test2/* -ina -subdir=yes
    -= Trident =-

Similar Threads

  1. Backup STGpool - querying for progress
    By bedac in forum Performance Tuning
    Replies: 2
    Last Post: 09-09-2011, 04:27 AM
  2. Querying the data an Archive was taken
    By joxers64 in forum Scripting
    Replies: 0
    Last Post: 02-09-2011, 01:52 PM
  3. Querying archive location.
    By tteg76 in forum Administrative Client
    Replies: 3
    Last Post: 05-23-2007, 02:56 AM
  4. querying filespace.
    By mohit in forum Backup / Archive Discussion
    Replies: 4
    Last Post: 12-19-2005, 11:52 AM
  5. querying TSM server
    By prachik in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 09-26-2003, 02:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •