Forum Discussion

bakitup's avatar
bakitup
Level 4
17 years ago

PureDisk agent Query for Files Backed up

Anyone know a command on a PureDisk client where I can query the PureDisk server to see if a file is backed up?  Similar to the bplist command in NetBackup.

3 Replies

Replies have been turned off for this discussion
  • If you know the DS ID of the dataselection - let's say DS ID is 99, for example.

     

    /opt/pddb/bin/psql -U pddb mb -c "select id, dirname, basename, mtime, size, cdoref, mdoref, sdoref from dslast_99" > /tmp/DSlast_99_polist.out

     

    ** Edit **

    Oops, you said "from client"
    Then I do not know any such command, sorry.

    Message Edited by Abesama on 02-18-2009 02:50 PM
  • Correct, I need to query the information from the client.

     

    Jeff

  • If you can log on to the server via SSH from the client you can run the command above.