cancel
Showing results for 
Search instead for 
Did you mean: 

PureDisk agent Query for Files Backed up

bakitup
Level 4
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 3

Abesama
Level 6
Partner

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

bakitup
Level 4

Correct, I need to query the information from the client.

 

Jeff

Nicolas_Cure
Level 4
Certified
If you can log on to the server via SSH from the client you can run the command above.