2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

14
vdh/show_backups.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
CLIENT=$1 ; shift
DB=$1 ; shift
FILE_LIST=$@
for FILE in $FILE_LIST
do
awk 'BEGIN {printf "%-19s", "File:"}'; echo $FILE;
for BACKUP_ID in `bpflist -d 01/01/1970 00:00:00 -pt Oracle -pattern $FILE -client $CLIENT -keyword $DB -U | grep "Backup ID:" |awk '{print $3}'`
do
bpimagelist -media -backupid $BACKUP_ID -L | egrep "Backup ID:|Backup Time:|Copy number:|Fragment:|Media Type:|Expiration Time:|^[ ]*ID";
done
echo
done