Results 1 to 4 of 4
  1. #1
    Newcomer
    Join Date
    Oct 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dsmc retrieve -pick 1

    Is there any way to use -pick without making it interactive? IE: if i just want the most recent file, that file is always #1 in the pick list, so can i just specify "restore pick 1" ?


    Obviously that exact syntax i have already tried and it does not work, and the documentation for pick does not mention any way to do it, but I hoped someone else would know?

  2. #2

    Default

    Since we are performing a restore, by default we will get the active version.
    The active version is the most recent backup of the file.
    If you want an older version of the file (inactive), then use the -pick -ina options.

    Good Luck,
    Sias

  3. #3
    Newcomer
    Join Date
    Oct 2012
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks, but that refers to backups... I have a bunch of archived files, and when I ask for one, it retrieves all 32 copies, overwriting the result file repeatedly until just the latest file is left... so I end up with what i wanted, but it takes longer than it needs to.

    dsmc -replace=yes retrieve {/tmp}/archiveDir/GM_DE~11513SDE001.000~V1.1.pax
    Retrieving 1,696,501,760 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,209,920 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,516,846,080 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,209,920 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,516,846,080 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,209,920 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,516,840,960 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,209,920 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,516,840,960 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,588,800 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,520,419,840 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,588,800 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,520,414,720 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,588,800 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,520,414,720 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,588,800 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,520,414,720 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 208,588,800 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]
    Retrieving 1,728,998,400 /tmp/archiveDir/GM_DE~11513SDE001.000~V1.1.pax [Done]

    Retrieve processing finished.

    Total number of objects retrieved: 19
    Total number of objects failed: 0
    Total number of bytes transferred: 3.14 GB
    Data transfer time: 3,084.73 sec
    Network data transfer rate: 1,069.92 KB/sec
    Aggregate data transfer rate: 707.23 KB/sec
    Elapsed processing time: 01:17:46

  4. #4
    Moderator chad_small's Avatar
    Join Date
    Dec 2002
    Location
    Gilbert, AZ
    Posts
    2,194
    Thanks
    1
    Thanked 25 Times in 24 Posts

    Default

    Use the -pitd and -pitt option to restore the archived file from a specific day/date.
    Chad Small
    IBM Certified Deployment Professional
    chadsmal@gmail.com
    http://www.tsmadmin.com

Similar Threads

  1. How does TSM pick a tape drive?
    By GregE in forum TSM Server
    Replies: 5
    Last Post: 04-28-2011, 11:17 AM
  2. dsmc restore/retrieve estimate from cli
    By cyberZ in forum Restore / Recovery Discussion
    Replies: 2
    Last Post: 03-15-2011, 04:40 AM
  3. Replies: 14
    Last Post: 09-03-2010, 01:29 PM
  4. dsmc retrieve syntax
    By toddz2000 in forum Restore / Recovery Discussion
    Replies: 7
    Last Post: 08-07-2008, 07:28 AM
  5. dsmc query vs gui retrieve .
    By sra006 in forum Backup / Archive Discussion
    Replies: 0
    Last Post: 04-20-2006, 09:35 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
  •