1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Finding oldest file in an archive.

Discussion in 'Backup / Archive Discussion' started by htijnar, Nov 19, 2012.

  1. htijnar

    htijnar New Member

    Joined:
    Sep 17, 2012
    Messages:
    2
    Likes Received:
    0
    hi
    I am trying to figure out the oldest file in an archive.
    When I try

    dsmc retr -pick /directory/path/

    I see only archive date.
    So, what I tried is restoring all files one-by-one and checking date time stamp on files.

    What is confusing me is that

    dsmc query archive /directory/path returns 333 files but if I do a

    select NODE_NAME,ARCHIVE_DATE,CLASS_NAME,FILESPACE_NAME,DESCRIPTION from ARCHIVES where NODE_NAME='NODE' ORDER BY ARCHIVE_DATE

    and grep by date for date when /directory/path was archived, I get more results.

    Is there a way to query oldest file in an archive without restoring the archive?
     
  2.  
  3. smajl

    smajl Senior Member

    Joined:
    Dec 10, 2009
    Messages:
    144
    Likes Received:
    19
    Location:
    Brno
    In GUI you see creation/last modification date
     

Share This Page